Skip to content

Commit 2b2c0f9

Browse files
committed
Allow tests with rust-rustfix and revisions
1 parent 931692f commit 2b2c0f9

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
@@ -3962,7 +3962,7 @@ impl<'test> TestCx<'test> {
39623962
// And finally, compile the fixed code and make sure it both
39633963
// succeeds and has no diagnostics.
39643964
let rustc = self.make_compile_args(
3965-
&self.testpaths.file.with_extension(UI_FIXED),
3965+
&self.expected_output_path(UI_FIXED),
39663966
TargetLocation::ThisFile(self.make_exe_name()),
39673967
emit_metadata,
39683968
AllowUnused::No,

0 commit comments

Comments
 (0)