Index: utils/tests/pub/update/git/update_to_nonexistent_pubspec_test.dart |
diff --git a/utils/tests/pub/update/git/update_to_nonexistent_pubspec_test.dart b/utils/tests/pub/update/git/update_to_nonexistent_pubspec_test.dart |
index b77710378bb941968ad9245287e5a58cb61067f6..c30157e8b289129bfe22855ba18a612c464d7ce6 100644 |
--- a/utils/tests/pub/update/git/update_to_nonexistent_pubspec_test.dart |
+++ b/utils/tests/pub/update/git/update_to_nonexistent_pubspec_test.dart |
@@ -22,7 +22,7 @@ main() { |
appDir([{"git": "../foo.git"}]).scheduleCreate(); |
schedulePub(args: ['install'], |
- output: new RegExp(r"Dependencies installed!$")); |
+ output: const RegExp(r"Dependencies installed!$")); |
dir(packagesPath, [ |
dir('foo', [ |
@@ -34,7 +34,7 @@ main() { |
repo.scheduleGit(['commit', '-m', 'delete']); |
schedulePub(args: ['update'], |
- error: new RegExp(r'Package "foo" doesn' "'" r't have a ' |
+ error: const RegExp(r'Package "foo" doesn' "'" r't have a ' |
r'pubspec.yaml file.'), |
exitCode: 1); |