aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/testfileops.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/testfileops.nim')
-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 2fff387..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'")