aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Yakimowich-Payne <jyapayne@gmail.com>2018-08-03 15:08:03 +0900
committerJoey Yakimowich-Payne <jyapayne@gmail.com>2018-08-03 15:08:03 +0900
commitc6148571c10d073b2c4c4a6392c5a43e747315b4 (patch)
treec10fc1df1d91e3a021b32ef589b148a832377439
parent87e08bfb666789942462739e90afa3e4bd23a1de (diff)
downloadnimgen-c6148571c10d073b2c4c4a6392c5a43e747315b4.tar.gz
nimgen-c6148571c10d073b2c4c4a6392c5a43e747315b4.zip
Fix windows echo
-rw-r--r--tests/unittests/testfileops.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/testfileops.nim b/tests/unittests/testfileops.nim
index 5d2119f..076c586 100644
--- a/tests/unittests/testfileops.nim
+++ b/tests/unittests/testfileops.nim
@@ -120,7 +120,7 @@ suite "test file ops":
test "pipe command into file":
when defined(windows):
- pipe(testfilename, "ECHO foo > $file")
+ pipe(testfilename, "ECHO foo")
testfilename.checkFile("foo")
else:
pipe(testfilename, "cat $file | grep 'this is text'")