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

Unified Diff: utils/tests/pub/update/pub_update_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
« no previous file with comments | « utils/tests/pub/update/hosted/update_removed_constraints_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/update/pub_update_test.dart
diff --git a/utils/tests/pub/update/pub_update_test.dart b/utils/tests/pub/update/pub_update_test.dart
index 831d2ce8a10839fd58b4b63d0a1b8ad0ec57ed16..f4900f5e9e41f5258c75858481c828d2abddc997 100644
--- a/utils/tests/pub/update/pub_update_test.dart
+++ b/utils/tests/pub/update/pub_update_test.dart
@@ -15,7 +15,7 @@ main() {
dir(appPath, []).scheduleCreate();
schedulePub(args: ['update'],
- error: new RegExp(r'^Could not find a file named "pubspec.yaml"'),
+ error: const RegExp(r'^Could not find a file named "pubspec.yaml"'),
exitCode: 1);
run();
@@ -27,7 +27,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['update'],
- error: new RegExp(r'^pubspec.yaml is missing the required "name" '
+ error: const RegExp(r'^pubspec.yaml is missing the required "name" '
r'field \(e\.g\. "name: myapp"\)\.'),
exitCode: 1);
@@ -44,7 +44,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['update'],
- output: new RegExp(r"Dependencies updated!$"));
+ output: const RegExp(r"Dependencies updated!$"));
dir(packagesPath, [
dir("myapp_name", [
@@ -63,7 +63,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['update'],
- output: new RegExp(r"Dependencies updated!$"));
+ output: const RegExp(r"Dependencies updated!$"));
dir(packagesPath, [
nothing("myapp_name")
@@ -88,7 +88,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['update'],
- output: new RegExp(r"Dependencies updated!$"));
+ output: const RegExp(r"Dependencies updated!$"));
packagesDir({"foo": null}).scheduleValidate();
« no previous file with comments | « utils/tests/pub/update/hosted/update_removed_constraints_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698