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

Unified Diff: utils/tests/pub/install/hosted/stay_locked_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/install/hosted/stay_locked_test.dart
diff --git a/utils/tests/pub/install/hosted/stay_locked_test.dart b/utils/tests/pub/install/hosted/stay_locked_test.dart
index 316333caa72e6736cd52cecdbf80e7d63dc64a6b..c6e4b00ff8189130e465d4603d138796e45f67dd 100644
--- a/utils/tests/pub/install/hosted/stay_locked_test.dart
+++ b/utils/tests/pub/install/hosted/stay_locked_test.dart
@@ -17,7 +17,7 @@ main() {
// This install should lock the foo dependency to version 1.0.0.
schedulePub(args: ['install'],
- output: new RegExp(r"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
packagesDir({"foo": "1.0.0"}).scheduleValidate();
@@ -29,7 +29,7 @@ main() {
// This install shouldn't update the foo dependency due to the lockfile.
schedulePub(args: ['install'],
- output: new RegExp(r"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
packagesDir({"foo": "1.0.0"}).scheduleValidate();

Powered by Google App Engine
This is Rietveld 408576698