Skip to content

Commit

Permalink
Fix typo and false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Oct 2, 2024
1 parent f111144 commit bec1607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/exit-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cargo-mutants returns an exit code that can be used by scripts or CI.

* **2**: Found some mutants that were not covered by tests.

* **3**: Some tests timed out: possibly the mutatations caused an infinite loop,
* **3**: Some tests timed out: possibly the mutations caused an infinite loop,
or the timeout is too low.

* **4**: The tests are already failing or hanging before any mutations are
Expand Down
2 changes: 1 addition & 1 deletion testdata/well_tested/src/simple_fns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ mod tests {
}

#[test]
fn test_mutatable_functions() {
fn main_tests() {
assert_eq!(returns_42u32(), 42);

assert!(divisible_by_three(0));
Expand Down

0 comments on commit bec1607

Please sign in to comment.