Skip to content

Commit 5dd58e9

Browse files
committed
fix ref for modulus behavior on test fail count
1 parent a837a19 commit 5dd58e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/app/references/command-line.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ Cypress Cloud will display any tags sent with the appropriate run.
599599
#### Exit code
600600
601601
Cypress supports two different exit code behaviors. The default behavior is similar to that of Mocha, but is not POSIX compliant: reserved exit codes can be returned for certain conditions. As well, the default behavior
602-
can return a false negative when there are a number of tests that fail in multiples of 255.
602+
can return a false negative when there are a number of tests that fail in multiples of 256: most terminals will apply modulo 256 to any exit code larger than 255.
603603
604604
POSIX compliant exit codes are available via the `--posix-exit-codes` flag. When this flag is passed, additional conditions can be returned that are not possible with the default behavior, including when Cypress fails due to
605605
network errors when connections to Cypress Cloud are required, such as in `--record` or `--parallel` runs.

0 commit comments

Comments
 (0)