mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Merge #7292
7292: Swap assert_eq_text\!(expected, actual) r=matklad a=u5surf Fixes #7283 Swap assert_eq_text parameters in the order (expected, actual) Co-authored-by: yugo-horie <u5.horie@gmail.com>
This commit is contained in:
commit
9eb37fbdeb
6 changed files with 27 additions and 27 deletions
|
@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue