test output from jq needs to be sorted

This commit is contained in:
CK Tan 2019-10-10 17:32:54 -07:00
parent 2453664abb
commit f782b12864
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ for i in toml-spec-tests/values/*.toml; do
echo -n $fname ' '
res='[OK]'
if (../toml_json $fname.toml >& $fname.json.out); then
jq . $fname.json.out > t.json
jq -S . $fname.json.out > t.json
mv t.json $fname.json.out
if [ -f $fname.json ]; then
if ! (diff $fname.json $fname.json.out >& /dev/null); then