diff options
author | Serban Constantin <serban.constantin@gmail.com> | 2020-10-06 19:05:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-06 18:05:57 +0200 |
commit | dd862285483b402424607d5a1365d99cbd8566c7 (patch) | |
tree | 7152c65292a85593e1f720c8ed239c70e62485ad | |
parent | fa841214212cba21ebbf9a0a18a9ce367fab15d2 (diff) | |
download | Nim-dd862285483b402424607d5a1365d99cbd8566c7.tar.gz |
update unittest docs with correct exit code info (#15502)
-rw-r--r-- | lib/pure/unittest.nim | 4 |
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 ## ===================== |