Skip to content

Commit

Permalink
this should make it work on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dominictarr committed Apr 29, 2013
1 parent 8c1693f commit a683da2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/tokenizer-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ ttest () {
i=$((i+1))
local input="$1"; shift
local expected="$(printf '%s\n' "$@")"
if echo "$input" | tokenize | diff -u - <(echo "$expected")
echo "$expected" > /tmp/json_ttest_expected
if echo "$input" | tokenize | diff -u - /tmp/json_ttest_expected
then
echo "ok $i - $input"
else
Expand Down

0 comments on commit a683da2

Please sign in to comment.