test output from jq needs to be sorted
This commit is contained in:
parent
2453664abb
commit
f782b12864
|
@ -13,7 +13,7 @@ for i in toml-spec-tests/values/*.toml; do
|
||||||
echo -n $fname ' '
|
echo -n $fname ' '
|
||||||
res='[OK]'
|
res='[OK]'
|
||||||
if (../toml_json $fname.toml >& $fname.json.out); then
|
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
|
mv t.json $fname.json.out
|
||||||
if [ -f $fname.json ]; then
|
if [ -f $fname.json ]; then
|
||||||
if ! (diff $fname.json $fname.json.out >& /dev/null); then
|
if ! (diff $fname.json $fname.json.out >& /dev/null); then
|
||||||
|
|
Loading…
Reference in New Issue