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