update unittest docs with correct exit code info (#15502)

This commit is contained in:
Serban Constantin
2020-10-06 19:05:57 +03:00
committed by GitHub
parent fa84121421
commit dd86228548

View File

@@ -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
## =====================