From f273995a258bea08aead0efc46883d632270d9c4 Mon Sep 17 00:00:00 2001 From: yugo-horie Date: Sat, 16 Jan 2021 13:30:26 +0900 Subject: Swap assert_eq_text\!(expected, actual) --- crates/hir_expand/src/proc_macro.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/hir_expand') diff --git a/crates/hir_expand/src/proc_macro.rs b/crates/hir_expand/src/proc_macro.rs index 1923daca5..75e950816 100644 --- a/crates/hir_expand/src/proc_macro.rs +++ b/crates/hir_expand/src/proc_macro.rs @@ -135,7 +135,6 @@ mod tests { let result = format!("{:#?}", remove_derive_attrs(&tt).unwrap()); assert_eq_text!( - &result, r#" SUBTREE $ PUNCH # [alone] 0 @@ -150,7 +149,8 @@ SUBTREE $ PUNCH : [alone] 19 IDENT u32 20 "# - .trim() + .trim(), + &result ); } } -- cgit v1.2.3