Have "aborting due to previous errors" message show an error count
This commit is contained in:
parent
99d6807ee0
commit
1a3b8fc43c
2 changed files with 4 additions and 2 deletions
|
@ -266,7 +266,7 @@ fn check_expected_errors(expected_errors: [errors::expected_error],
|
|||
}
|
||||
|
||||
// ignore this msg which gets printed at the end
|
||||
if str::contains(line, "aborting due to previous errors") {
|
||||
if str::contains(line, "aborting due to") {
|
||||
was_expected = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue