Skip to content

Commit fd81a38

Browse files
committed
Allow tests with rust-rustfix and revisions
1 parent db95da1 commit fd81a38

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

0 commit comments

Comments
 (0)