cargo-mutants 27.0.0

Inject bugs and see if your tests catch them
1
2
3
4
5
6
7
8
9
10
11
12
13
pub fn one() -> String {
    "one".to_owned()
}

#[cfg(test)]
mod test_super {
    use super::*;

    #[test]
    fn test_one() {
        assert_eq!(one(), "one");
    }
}