diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2023-10-26 15:38:10 +0000 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2023-11-06 16:23:08 +0000 |
| commit | 2b2c0f98869ce582716d47a7be5db2625b0558fc (patch) | |
| tree | 7d20484647f56723dd5b583245b6828a2e92f7fb /src/tools/compiletest | |
| parent | 931692fa13dd9fd39f4b5c2678ae7bfabad92b2a (diff) | |
Allow tests with rust-rustfix and revisions
Diffstat (limited to 'src/tools/compiletest')
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index e74d66a8599..620844f6f09 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -3962,7 +3962,7 @@ impl<'test> TestCx<'test> { // And finally, compile the fixed code and make sure it both // succeeds and has no diagnostics. let rustc = self.make_compile_args( - &self.testpaths.file.with_extension(UI_FIXED), + &self.expected_output_path(UI_FIXED), TargetLocation::ThisFile(self.make_exe_name()), emit_metadata, AllowUnused::No, |
