Skip to content

Commit ff24fbc

Browse files
committed
Don't time tests & tweak unicode case offset
1 parent 322ed7b commit ff24fbc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ t() {
88
expected="${@:$#}"
99
args="${@:1:($#-1)}"
1010
echo -e "\n./jsonpath.py $args"
11-
output=$(time -p ./jsonpath.py $args)
11+
output=$(./jsonpath.py $args)
12+
# output=$(time -p ./jsonpath.py $args)
1213
if [ "$output" = "$expected" ]; then
1314
echo -e "${GREEN}- pass${NC}"
1415
else
@@ -41,4 +42,4 @@ t tests/array.json "2.value" "4:26"
4142
t tests/array.json "3.numbers.0" "6:5"
4243
t tests/restcountries.json "219.capital" "17806:13"
4344
t tests/restcountries.json "85.latlng.0" "6963:4"
44-
t tests/unicode.json "👍" "1:34"
45+
t tests/unicode.json "👍" "1:35"

0 commit comments

Comments
 (0)