mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-09-29 02:03:29 +00:00
cargo fmt
This commit is contained in:
+2
-1
@@ -416,7 +416,8 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn detects_tests_in_files_with_lf_line_endings() {
|
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));
|
assert!(exercise_has_tests(content));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user