Chromium Code Reviews

Unified Diff: utils/tests/pub/install/git/unlock_if_incompatible_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/git/unlock_if_incompatible_test.dart
diff --git a/utils/tests/pub/install/git/unlock_if_incompatible_test.dart b/utils/tests/pub/install/git/unlock_if_incompatible_test.dart
index 25476fcf10dddc72b2a38b939bf0e338a1a45808..17ddc10f03e182ac48fd170da61353137dc4c37f 100644
--- a/utils/tests/pub/install/git/unlock_if_incompatible_test.dart
+++ b/utils/tests/pub/install/git/unlock_if_incompatible_test.dart
@@ -21,7 +21,7 @@ main() {
appDir([{"git": "../foo.git"}]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(r"Dependencies installed!$"));
+ output: new RegExp(r"Dependencies installed!$"));
dir(packagesPath, [
dir('foo', [
@@ -37,7 +37,7 @@ main() {
appDir([{"git": "../foo.git", "version": ">=1.0.0"}]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(r"Dependencies installed!$"));
+ output: new RegExp(r"Dependencies installed!$"));
dir(packagesPath, [
dir('foo', [

Powered by Google App Engine