From a49d88f18a53eaf5adec1edfdf536538f4e6d28e Mon Sep 17 00:00:00 2001 From: Federico Ceratto Date: Sun, 26 Feb 2017 14:34:08 +0000 Subject: [PATCH] Add comment on return value --- lib/pure/unittest.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pure/unittest.nim b/lib/pure/unittest.nim index 49e24037a7..65bcd50560 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 exits with 0 or 1 import macros