mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-08-14 14:26:56 +00:00
cargo fmt
This commit is contained in:
parent
9a21aa3806
commit
219f479f71
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user