From dd862285483b402424607d5a1365d99cbd8566c7 Mon Sep 17 00:00:00 2001 From: Serban Constantin Date: Tue, 6 Oct 2020 19:05:57 +0300 Subject: update unittest docs with correct exit code info (#15502) --- lib/pure/unittest.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/pure/unittest.nim') 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 `` exits with 0 or 1 +## Compiled test files as well as ``nim c -r `` +## exit with 0 for success (no failed tests) or 1 for failure. ## ## Running a single test ## ===================== -- cgit 1.4.1-2-gfad0