cargo-mutants 27.0.0

Inject bugs and see if your tests catch them
1
2
3
4
5
6
7
use std::path::Path;

pub fn read_through_symlink() -> String {
    let path = Path::new("testdata/symlink");
    assert!(path.is_symlink());
    std::fs::read_to_string(path).unwrap()
}