diff --git a/packages/flutter_tools/test/integration.shard/flutter_build_apk_verbose_test.dart b/packages/flutter_tools/test/integration.shard/flutter_build_apk_verbose_test.dart index cff5e463b09..4a5c253cc6a 100644 --- a/packages/flutter_tools/test/integration.shard/flutter_build_apk_verbose_test.dart +++ b/packages/flutter_tools/test/integration.shard/flutter_build_apk_verbose_test.dart @@ -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+'))); }, ); } diff --git a/packages/flutter_tools/test/integration.shard/overall_experience_test.dart b/packages/flutter_tools/test/integration.shard/overall_experience_test.dart index eddf735f973..4741c07fe74 100644 --- a/packages/flutter_tools/test/integration.shard/overall_experience_test.dart +++ b/packages/flutter_tools/test/integration.shard/overall_experience_test.dart @@ -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'),