Swap assert_eq_text\!(expected, actual)

This commit is contained in:
yugo-horie 2021-01-16 13:30:26 +09:00
parent 3782c78d75
commit f273995a25
6 changed files with 27 additions and 27 deletions

View file

@ -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> {