mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +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
|
@ -599,7 +599,7 @@ fn check(
|
|||
|
||||
let rewriter = insert_use(&file, path, mb);
|
||||
let result = rewriter.rewrite(file.as_syntax_node()).to_string();
|
||||
assert_eq_text!(&result, ra_fixture_after);
|
||||
assert_eq_text!(ra_fixture_after, &result);
|
||||
}
|
||||
|
||||
fn check_full(path: &str, ra_fixture_before: &str, ra_fixture_after: &str) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue