Skip to content

Commit

Permalink
Update integration tests regexes. (flutter#144847)
Browse files Browse the repository at this point in the history
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: flutter#144487
  • Loading branch information
godofredoc committed Mar 12, 2024
1 parent 49f45d2 commit 1ca8873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -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+')));
},
);
}
Expand Up @@ -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'),
Expand Down

0 comments on commit 1ca8873

Please sign in to comment.