Fix tests (#3977)
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user