Chromium Code Reviews

Unified Diff: utils/tests/pub/install/git/check_out_revision_test.dart

Issue 11410033: Make RegExp's constructor non-const. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move out RegExp constructors to top-level elements. 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/check_out_revision_test.dart
diff --git a/utils/tests/pub/install/git/check_out_revision_test.dart b/utils/tests/pub/install/git/check_out_revision_test.dart
index 9259682c361a4dfb28b90fd7a6edae373ab914f7..8ef60f97a3f76463a5603fda003793c876b38292 100644
--- a/utils/tests/pub/install/git/check_out_revision_test.dart
+++ b/utils/tests/pub/install/git/check_out_revision_test.dart
@@ -28,7 +28,7 @@ main() {
appDir([{"git": {"url": "../foo.git", "ref": commit}}]).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