in src/main.rs [986:1003]
fn test_fixed_strings() {
let dir = create_test_files(&[("file1.txt", "foo+bar\nfoooobar")]);
let file_path = dir.path().join("file1.txt");
Command::cargo_bin("fastmod")
.unwrap()
.args(&[
"foo+bar",
"baz",
"--accept-all",
"--dir",
dir.path().to_str().unwrap(),
"--fixed-strings",
])
.assert()
.success();
let contents = read_to_string(file_path).unwrap();
assert_eq!(contents, "baz\nfoooobar");
}