Skip to content

Commit 4023f05

Browse files
committed
compiletest ui does not check for //~ comments, when --compare-mode is active
1 parent 79db5fe commit 4023f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2559,7 +2559,7 @@ impl<'test> TestCx<'test> {
25592559
self.fatal_proc_rec("test run failed!", &proc_res);
25602560
}
25612561
}
2562-
if !explicit {
2562+
if !explicit && self.config.compare_mode.is_none() {
25632563
if !expected_errors.is_empty() || !proc_res.status.success() {
25642564
// "// error-pattern" comments
25652565
self.check_expected_errors(expected_errors, &proc_res);

0 commit comments

Comments
 (0)