summary refs log tree commit diff stats
path: root/tests/proc
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-01 15:44:23 +0200
committerAraq <rumpf_a@web.de>2018-05-02 13:34:54 +0200
commit74fe7a800b0c2ade3260b8a2f7bc72ea4fd8dc03 (patch)
tree9cace45a8f3fcfa255061a7d9ea208e58ec85f61 /tests/proc
parent5ac94d26b3691395c40d93109d85fe29d1f14db1 (diff)
downloadNim-74fe7a800b0c2ade3260b8a2f7bc72ea4fd8dc03.tar.gz
make tests green again
Diffstat (limited to 'tests/proc')
-rw-r--r--tests/proc/tprocredef.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/proc/tprocredef.nim b/tests/proc/tprocredef.nim
index 86ed92b62..4ec771510 100644
--- a/tests/proc/tprocredef.nim
+++ b/tests/proc/tprocredef.nim
@@ -4,6 +4,6 @@ discard """
   errormsg: "redefinition of \'foo\'"
 """
 
-proc foo(a: int, b: string) = nil
-proc foo(a: int, b: string) = nil
+proc foo(a: int, b: string) = discard
+proc foo(a: int, b: string) = discard