Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2472)

Unified Diff: utils/tests/pub/update/git/update_to_nonexistent_pubspec_test.dart

Issue 11312203: "Reverting 14829-14832" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698