Skip to content

Commit 1ca8873

Browse files
authored
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: flutter/flutter#144487
1 parent 49f45d2 commit 1ca8873

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/flutter_tools/test/integration.shard/flutter_build_apk_verbose_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void main() {
4949
'-v',
5050
], workingDirectory: exampleAppDir.path);
5151
expect(
52-
result.stdout, contains(RegExp(r'executing:\s+\S+gen_snapshot\s+')));
52+
result.stdout, contains(RegExp(r'executing:\s+.+gen_snapshot\s+')));
5353
},
5454
);
5555
}

packages/flutter_tools/test/integration.shard/overall_experience_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ void main() {
251251
'A RenderFlex overflowed by 69200 pixels on the right.',
252252
'',
253253
'The relevant error-causing widget was:',
254-
matches(RegExp(r'^ Row .+flutter/dev/integration_tests/ui/lib/overflow\.dart:32:18$')),
254+
matches(RegExp(r'^ Row.+/dev/integration_tests/ui/lib/overflow\.dart:32:18$')),
255255
'',
256256
'To inspect this widget in Flutter DevTools, visit:',
257257
startsWith('http'),

0 commit comments

Comments
 (0)