in src/main.rs [1073:1082]
fn test_zero_length_replacement() {
let dir = create_test_files(&[("foo.txt", "foofoo")]);
let file_path = dir.path().join("foo.txt");
let regex = RegexBuilder::new("foo").multi_line(true).build().unwrap();
let mut fm = Fastmod::new(true, false, false);
fm.present_and_apply_patches(®ex, "", &file_path, "foofoo".into())
.unwrap();
let contents = read_to_string(file_path).unwrap();
assert_eq!(contents, "");
}