diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-02-27 16:37:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-27 16:37:35 +0100 |
commit | 2b0ad99af09a30ee33bbcae8eef8eb32ee7452cf (patch) | |
tree | 9bfc2f16d6a2e382fa359736180b21a2b847580c | |
parent | c3d6819bad34008d41abaa513ce63bd933acd640 (diff) | |
parent | a49d88f18a53eaf5adec1edfdf536538f4e6d28e (diff) | |
download | Nim-2b0ad99af09a30ee33bbcae8eef8eb32ee7452cf.tar.gz |
Merge pull request #5442 from FedericoCeratto/patch-24
Add comment on return value
-rw-r--r-- | lib/pure/unittest.nim | 2 |
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 |