cargo fmt

This commit is contained in:
Sandmeyer 2026-07-31 20:46:54 +08:00
parent 9a21aa3806
commit 219f479f71

View File

@ -416,7 +416,8 @@ mod tests {
#[test]
fn detects_tests_in_files_with_lf_line_endings() {
let content = "fn main() {}\n\n#[cfg(test)]\nmod tests {\n #[test]\n fn it_works() {}\n}\n";
let content =
"fn main() {}\n\n#[cfg(test)]\nmod tests {\n #[test]\n fn it_works() {}\n}\n";
assert!(exercise_has_tests(content));
}
}