mirror of
https://github.com/json-c/json-c.git
synced 2026-04-05 13:29:06 +08:00
Added test cases for spaced pretty and pretty_tab used together
This commit is contained in:
@@ -19,4 +19,20 @@ for flag in plain spaced pretty ; do
|
||||
fi
|
||||
done
|
||||
|
||||
# Spaced and pretty JSON string
|
||||
run_output_test -o test2Formatted_spaced_pretty \
|
||||
test2Formatted spaced pretty
|
||||
_err2=$?
|
||||
if [ $_err -eq 0 ] ; then
|
||||
_err=$_err2
|
||||
fi
|
||||
|
||||
# Spaced and pretty JSON string using tabs
|
||||
run_output_test -o test2Formatted_spaced_pretty_pretty_tab \
|
||||
test2Formatted spaced pretty pretty_tab
|
||||
_err2=$?
|
||||
if [ $_err -eq 0 ] ; then
|
||||
_err=$_err2
|
||||
fi
|
||||
|
||||
exit $_err
|
||||
|
||||
Reference in New Issue
Block a user