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
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 cff5e46..4a5c253 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 @@
'-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 eddf735..4741c07 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 @@
'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'),