Index: utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart |
diff --git a/utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart b/utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart |
index 36c5e7f55468e80e903433b58b6cfa05e58eec86..e6086b5335dc75ac15869e29363ff6120f062a26 100644 |
--- a/utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart |
+++ b/utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart |
@@ -21,7 +21,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', [ |
@@ -35,7 +35,7 @@ main() { |
]).scheduleCommit(); |
schedulePub(args: ['update'], |
- error: new RegExp(r'The name you specified for your dependency, ' |
+ error: const RegExp(r'The name you specified for your dependency, ' |
r'"foo", doesn' "'" r't match the name "zoo" in its pubspec.'), |
exitCode: 1); |