Skip to content

Commit 1d58e6b

Browse files
committed
compiletest: diff direction should be (-)expected -> (+)actual.
1 parent 96d77f0 commit 1d58e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/runtest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3146,7 +3146,7 @@ impl<'test> TestCx<'test> {
31463146
}
31473147
let expected_string = fs::read_to_string(&expected_file).unwrap();
31483148
if dumped_string != expected_string {
3149-
print_diff(&dumped_string, &expected_string, 3);
3149+
print_diff(&expected_string, &dumped_string, 3);
31503150
panic!(
31513151
"Actual MIR output differs from expected MIR output {}",
31523152
expected_file.display()

0 commit comments

Comments
 (0)