diff options
Diffstat (limited to 'crates/ra_hir_expand')
-rw-r--r-- | crates/ra_hir_expand/src/builtin_derive.rs | 2 | ||||
-rw-r--r-- | crates/ra_hir_expand/src/builtin_macro.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir_expand/src/builtin_derive.rs b/crates/ra_hir_expand/src/builtin_derive.rs index 87224481c..a5b50a832 100644 --- a/crates/ra_hir_expand/src/builtin_derive.rs +++ b/crates/ra_hir_expand/src/builtin_derive.rs | |||
@@ -266,7 +266,7 @@ mod tests { | |||
266 | BuiltinDeriveExpander::Copy, | 266 | BuiltinDeriveExpander::Copy, |
267 | ); | 267 | ); |
268 | 268 | ||
269 | assert_eq!(expanded, "impl <>std::marker::CopyforFoo <>{}"); | 269 | assert_eq!(expanded, "impl< >std::marker::CopyforFoo< >{}"); |
270 | } | 270 | } |
271 | 271 | ||
272 | #[test] | 272 | #[test] |
diff --git a/crates/ra_hir_expand/src/builtin_macro.rs b/crates/ra_hir_expand/src/builtin_macro.rs index 1f380b571..b2c8a911f 100644 --- a/crates/ra_hir_expand/src/builtin_macro.rs +++ b/crates/ra_hir_expand/src/builtin_macro.rs | |||
@@ -367,7 +367,7 @@ mod tests { | |||
367 | "#, | 367 | "#, |
368 | ); | 368 | ); |
369 | 369 | ||
370 | assert_eq!(expanded, "std::option::Option::None:: <&str>"); | 370 | assert_eq!(expanded, "std::option::Option::None:: < &str>"); |
371 | } | 371 | } |
372 | 372 | ||
373 | #[test] | 373 | #[test] |
@@ -414,7 +414,7 @@ mod tests { | |||
414 | 414 | ||
415 | assert_eq!( | 415 | assert_eq!( |
416 | expanded, | 416 | 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),])"# |
418 | ); | 418 | ); |
419 | } | 419 | } |
420 | } | 420 | } |