Skip to content

Commit c7b0c72

Browse files
committed
Fix whitespace in tests
1 parent 6794d50 commit c7b0c72

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/ra_hir_expand/src/builtin_derive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ mod tests {
266266
BuiltinDeriveExpander::Copy,
267267
);
268268

269-
assert_eq!(expanded, "impl <>std::marker::CopyforFoo <>{}");
269+
assert_eq!(expanded, "impl< >std::marker::CopyforFoo< >{}");
270270
}
271271

272272
#[test]

crates/ra_hir_expand/src/builtin_macro.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ mod tests {
367367
"#,
368368
);
369369

370-
assert_eq!(expanded, "std::option::Option::None:: <&str>");
370+
assert_eq!(expanded, "std::option::Option::None:: < &str>");
371371
}
372372

373373
#[test]
@@ -414,7 +414,7 @@ mod tests {
414414

415415
assert_eq!(
416416
expanded,
417-
r#"std::fmt::Arguments::new_v1(&[] ,&[std::fmt::ArgumentV1::new(&(arg1(a,b,c)),std::fmt::Display::fmt),std::fmt::ArgumentV1::new(&(arg2),std::fmt::Display::fmt),])"#
417+
r#"std::fmt::Arguments::new_v1(&[], &[std::fmt::ArgumentV1::new(&(arg1(a,b,c)),std::fmt::Display::fmt),std::fmt::ArgumentV1::new(&(arg2),std::fmt::Display::fmt),])"#
418418
);
419419
}
420420
}

0 commit comments

Comments
 (0)