From 781bed25de16bc9bd6cace0204afbc05ec5b3bd9 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Sun, 4 Sep 2016 15:49:26 +0200 Subject: [PATCH] Fixes "can use nimscript's setCommand with flags" test. --- tests/tester.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/tester.nim b/tests/tester.nim index 886533b..3f5a51d 100644 --- a/tests/tester.nim +++ b/tests/tester.nim @@ -7,7 +7,7 @@ const path = "../src/nimble" test "can compile nimble": check execCmdEx("nim c " & path).exitCode == QuitSuccess -template cd*(dir: string, body: stmt) = +template cd*(dir: string, body: untyped) = ## Sets the current dir to ``dir``, executes ``body`` and restores the ## previous working dir. let lastDir = getCurrentDir() @@ -103,7 +103,6 @@ test "can use nimscript's setCommand with flags": let (output, exitCode) = execCmdEx("../" & path & " cr") let lines = output.strip.splitLines() check exitCode == QuitSuccess - check "Hint: operation successful".normalize in lines[^2].normalize check "Hello World".normalize in lines[^1].normalize test "can list nimscript tasks":