Also, make sure that broken tests actually break the bots.

And add a test to make sure that keeps happening.
This commit is contained in:
Ian Hickson
2016-05-17 12:45:37 -07:00
parent c192a7e4ca
commit f284c1a049
13 changed files with 88 additions and 30 deletions

View File

@@ -289,7 +289,7 @@ class TestAsyncUtils {
break;
}
if (index < stack.length) {
final RegExp callerPattern = new RegExp(r'^#[0-9]+ .* \((.+):([0-9]+)(?::[0-9]+)?\)$');
final RegExp callerPattern = new RegExp(r'^#[0-9]+ .* \((.+?):([0-9]+)(?::[0-9]+)?\)$');
final Match callerMatch = callerPattern.matchAsPrefix(stack[index]); // extract the caller's info
if (callerMatch != null) {
assert(callerMatch.groupCount == 2);