Chromium Code Reviews

Unified Diff: utils/tests/pub/install/hosted/resolve_constraints_test.dart

Issue 11410033: Make RegExp's constructor non-const. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment in https://codereview.chromium.org/11365196/diff/6001/pkg/intl/lib/date_format.dart Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: utils/tests/pub/install/hosted/resolve_constraints_test.dart
diff --git a/utils/tests/pub/install/hosted/resolve_constraints_test.dart b/utils/tests/pub/install/hosted/resolve_constraints_test.dart
index 077f899935cb3f3b544064a5222c00cd2f9c4f3e..2a3f3192daa82ade50d511a0e50f0bfba8373468 100644
--- a/utils/tests/pub/install/hosted/resolve_constraints_test.dart
+++ b/utils/tests/pub/install/hosted/resolve_constraints_test.dart
@@ -22,7 +22,7 @@ main() {
appDir([dependency("foo"), dependency("bar")]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp("Dependencies installed!\$"));
+ output: new RegExp("Dependencies installed!\$"));
cacheDir({
"foo": "1.2.3",

Powered by Google App Engine