Skip to content

Commit

Permalink
Fix ICE test in compiletest fail-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarton committed Sep 7, 2016
1 parent cf0cdc4 commit dd6e386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ actual:\n\

fn check_no_compiler_crash(&self, proc_res: &ProcRes) {
for line in proc_res.stderr.lines() {
if line.starts_with("error: internal compiler error:") {
if line.contains("error: internal compiler error") {
self.fatal_proc_rec("compiler encountered internal error", proc_res);
}
}
Expand Down

0 comments on commit dd6e386

Please sign in to comment.