mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Swap assert_eq_text\!(expected, actual)
This commit is contained in:
parent
3782c78d75
commit
f273995a25
6 changed files with 27 additions and 27 deletions
|
@ -52,7 +52,7 @@ pub fn assert_expand(
|
|||
let fixture = parse_string(ra_fixture).unwrap();
|
||||
|
||||
let res = expander.expand(macro_name, &fixture.subtree, None).unwrap();
|
||||
assert_eq_text!(&format!("{:?}", res), &expect.trim());
|
||||
assert_eq_text!(&expect.trim(), &format!("{:?}", res));
|
||||
}
|
||||
|
||||
pub fn list(crate_name: &str, version: &str) -> Vec<String> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue