diff --git a/tests/test.rs b/tests/test.rs index 3fb6ea166..51ecb057d 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -67,7 +67,7 @@ fn compare_structs(funcspace: &FuncSpace, value: &serde_json::Value) { .name .as_deref() .unwrap_or_default() - .replace("\r", ""); + .replace('\r', ""); let name1 = Path::new(&fsname); let name2 = Path::new(value["name"].as_str().unwrap_or_default()); assert_eq!(name1, name2);