Added test cases for spaced pretty and pretty_tab used together

This commit is contained in:
Darjan Krijan
2018-12-07 17:30:15 +01:00
parent 3943960874
commit 7a9075c16b
7 changed files with 251 additions and 0 deletions

View File

@@ -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