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', '-v',
], workingDirectory: exampleAppDir.path); ], workingDirectory: exampleAppDir.path);
expect( 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.', 'A RenderFlex overflowed by 69200 pixels on the right.',
'', '',
'The relevant error-causing widget was:', '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:', 'To inspect this widget in Flutter DevTools, visit:',
startsWith('http'), startsWith('http'),