Fix ICE test in compiletest fail-tests

This commit is contained in:
mcarton 2016-09-08 01:10:23 +02:00
parent cf0cdc452b
commit dd6e3863e5
No known key found for this signature in database
GPG Key ID: 5E427C794CBA45E8

View File

@ -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);
}
}