diff --git a/book/src/exit-codes.md b/book/src/exit-codes.md index a0885cc4..70253924 100644 --- a/book/src/exit-codes.md +++ b/book/src/exit-codes.md @@ -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 diff --git a/testdata/well_tested/src/simple_fns.rs b/testdata/well_tested/src/simple_fns.rs index 2b4d6f86..7a17fec2 100644 --- a/testdata/well_tested/src/simple_fns.rs +++ b/testdata/well_tested/src/simple_fns.rs @@ -46,7 +46,7 @@ mod tests { } #[test] - fn test_mutatable_functions() { + fn main_tests() { assert_eq!(returns_42u32(), 42); assert!(divisible_by_three(0));