File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -6,22 +6,25 @@ use Test::More tests 5
66use JSON
77
88tree1=$( cat test/keys.json | JSON.load)
9- ok $? " JSON.load succeeded"
9+ ok $? \
10+ " JSON.load succeeded"
1011
11- is " $( JSON.get ' /files/file 2.txt/type' tree1) " ' "text/plain"' \
12- " JSON.get works"
12+ is " $( JSON.get ' /files/file 2.txt/type' tree1) " \
13+ ' "text/plain"' \
14+ " JSON.get works"
1315
1416file_object=$( JSON.object ' /files' tree1)
1517
1618keys=" $( JSON.keys ' /' file_object) "
17-
18- is " $keys " " file1.txt" $' \n ' " file 2.txt" \
19- " JSON.keys '/'"
19+ is " $keys " \
20+ " file1.txt" $' \n ' " file 2.txt" \
21+ " JSON.keys '/'" # '
2022
2123keys=" $( JSON.keys ' /files' tree1) "
22- is " $keys " " file1.txt" $' \n ' " file 2.txt" \
23- " JSON.keys 'files'"
24+ is " $keys " \
25+ " file1.txt" $' \n ' " file 2.txt" \
26+ " JSON.keys '/files'" # '
2427
2528keys=" $( JSON.keys ' /' tree1) "
2629is " $keys " " description" $' \n ' " files" \
27- " JSON.keys '' "
30+ " JSON.keys '/' " # '
You can’t perform that action at this time.
0 commit comments