Skip to content

Commit

Permalink
adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
myaaaaaaaaa committed Aug 25, 2024
1 parent 7124ee6 commit ba3c7e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/shtest
Original file line number Diff line number Diff line change
Expand Up @@ -280,16 +280,16 @@ grep "Expected string key after ',' in object, not '\\['" $d/err > /dev/null
# output
cat <<EOF | (cd $d; $VALGRIND $Q $JQ -r 'to_entries[] | _experimental_output(.key;.value) | .key' >keys)
{
"a.json": "aaa",
"a.txt": "aaa",
"b/b.json": "invalid",
"c/c.json": ["not","valid"],
"d.json": {"e":10},
"f.json": 8
}
EOF
(cd $d; cat $(cat keys) keys) > $d/out || true
(cd $d; ! cat $(cat keys) keys >out)
cat > $d/expected <<'EOF'
aaa{"e":10}8a.json
aaa{"e":10}8a.txt
b/b.json
c/c.json
d.json
Expand Down

0 comments on commit ba3c7e6

Please sign in to comment.