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
This commit is contained in:
godofredoc 2024-03-11 18:31:25 -07:00 committed by GitHub
parent 49f45d2095
commit 1ca88730a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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'),