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:
bors[bot] 2021-01-18 10:12:54 +00:00 committed by GitHub
commit 9eb37fbdeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 27 additions and 27 deletions

View file

@ -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
);
}
}