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
commit dd86228548
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,8 @@
## parent test as failed. Setup and teardown are inherited. Setup can be ## parent test as failed. Setup and teardown are inherited. Setup can be
## overridden locally. ## overridden locally.
## ##
## Compiled test files return the number of failed test as exit code, while ## Compiled test files as well as ``nim c -r <testfile.nim>``
## ``nim c -r <testfile.nim>`` exits with 0 or 1 ## exit with 0 for success (no failed tests) or 1 for failure.
## ##
## Running a single test ## Running a single test
## ===================== ## =====================