Skip to content

Commit

Permalink
rename json_parse --> JSON.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dominictarr committed Nov 15, 2011
1 parent 1f0545d commit a48cb2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/parse-test.sh
Expand Up @@ -2,7 +2,7 @@


cd ${0%/*} cd ${0%/*}


. ../parse.sh . ../JSON.sh


ptest () { ptest () {
tokenize | parse >/dev/null tokenize | parse >/dev/null
Expand Down
2 changes: 1 addition & 1 deletion test/tokenizer-test.sh
@@ -1,7 +1,7 @@
#! /usr/bin/env bash #! /usr/bin/env bash


cd ${0%/*} cd ${0%/*}
. ../parse.sh . ../JSON.sh


i=0 i=0
fails=0 fails=0
Expand Down
2 changes: 1 addition & 1 deletion test/valid-test.sh
Expand Up @@ -9,7 +9,7 @@ for input in valid/*.json
do do
expected="${input%.json}.parsed" expected="${input%.json}.parsed"
let i++ let i++
if ! ../bin/json_parse < "$input" | diff -u - "$expected" if ! ../JSON.sh < "$input" | diff -u - "$expected"
then then
echo "not ok $i - $input" echo "not ok $i - $input"
let fails=$fails+1 let fails=$fails+1
Expand Down

0 comments on commit a48cb2f

Please sign in to comment.