summary refs log tree commit diff stats
path: root/lib/pure/unittest.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/unittest.nim')
-rw-r--r--lib/pure/unittest.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/unittest.nim b/lib/pure/unittest.nim
index 98be959e3..31eaa657b 100644
--- a/lib/pure/unittest.nim
+++ b/lib/pure/unittest.nim
@@ -22,8 +22,8 @@
 ## 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
+## Compiled test files as well as ``nim c -r <testfile.nim>``
+## exit with 0 for success (no failed tests) or 1 for failure.
 ##
 ## Running a single test
 ## =====================