From a683da2c0966d0a9858514941aaa85960b75865e Mon Sep 17 00:00:00 2001 From: Dominic Tarr Date: Mon, 29 Apr 2013 10:34:44 +0100 Subject: [PATCH] this should make it work on windows --- test/tokenizer-test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/tokenizer-test.sh b/test/tokenizer-test.sh index e681da6..4d5988c 100755 --- a/test/tokenizer-test.sh +++ b/test/tokenizer-test.sh @@ -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