summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-02-27 16:37:35 +0100
committerGitHub <noreply@github.com>2017-02-27 16:37:35 +0100
commit2b0ad99af09a30ee33bbcae8eef8eb32ee7452cf (patch)
tree9bfc2f16d6a2e382fa359736180b21a2b847580c
parentc3d6819bad34008d41abaa513ce63bd933acd640 (diff)
parenta49d88f18a53eaf5adec1edfdf536538f4e6d28e (diff)
downloadNim-2b0ad99af09a30ee33bbcae8eef8eb32ee7452cf.tar.gz
Merge pull request #5442 from FedericoCeratto/patch-24
Add comment on return value
-rw-r--r--lib/pure/unittest.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pure/unittest.nim b/lib/pure/unittest.nim
index 49e24037a..65bcd5056 100644
--- a/lib/pure/unittest.nim
+++ b/lib/pure/unittest.nim
@@ -47,6 +47,8 @@
 ## Tests can be nested, however failure of a nested test will not mark the
 ## parent test as failed. Setup and teardown are inherited. Setup can be
 ## overridden locally.
+## Compiled test files return the number of failed test as exit code, while
+## nim c -r <testfile.nim> exits with 0 or 1
 
 import
   macros