Unverified Commit 1ca88730 authored by godofredoc's avatar godofredoc Committed by GitHub

Update integration tests regexes. (#144847)

Some tests are assuming the flutter sdk code is being checked out to flutter and checking the code to a different repository makes them fail.

Bug: https://github.com/flutter/flutter/issues/144487
parent 49f45d20
......@@ -49,7 +49,7 @@ void main() {
'-v',
], workingDirectory: exampleAppDir.path);
expect(
result.stdout, contains(RegExp(r'executing:\s+\S+gen_snapshot\s+')));
result.stdout, contains(RegExp(r'executing:\s+.+gen_snapshot\s+')));
},
);
}
......@@ -251,7 +251,7 @@ void main() {
'A RenderFlex overflowed by 69200 pixels on the right.',
'',
'The relevant error-causing widget was:',
matches(RegExp(r'^ Row .+flutter/dev/integration_tests/ui/lib/overflow\.dart:32:18$')),
matches(RegExp(r'^ Row.+/dev/integration_tests/ui/lib/overflow\.dart:32:18$')),
'',
'To inspect this widget in Flutter DevTools, visit:',
startsWith('http'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment