Chromium Code Reviews

Unified Diff: utils/tests/pub/update/git/update_locked_test.dart

Issue 11369210: Make RegExp constructor non-const. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean up status files. 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/update/git/update_locked_test.dart
diff --git a/utils/tests/pub/update/git/update_locked_test.dart b/utils/tests/pub/update/git/update_locked_test.dart
index 00ae0f817e096b45f35992afa5a8c44fa7e5b98f..0d230880243791668a3365b2ebb51b391768a4c6 100644
--- a/utils/tests/pub/update/git/update_locked_test.dart
+++ b/utils/tests/pub/update/git/update_locked_test.dart
@@ -26,7 +26,7 @@ main() {
appDir([{"git": "../foo.git"}, {"git": "../bar.git"}]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(r"Dependencies installed!$"));
+ output: new RegExp(r"Dependencies installed!$"));
dir(packagesPath, [
dir('foo', [
@@ -48,7 +48,7 @@ main() {
]).scheduleCommit();
schedulePub(args: ['update'],
- output: const RegExp(r"Dependencies updated!$"));
+ output: new RegExp(r"Dependencies updated!$"));
dir(packagesPath, [
dir('foo', [
« no previous file with comments | « utils/tests/pub/update/git/do_not_update_if_unneeded_test.dart ('k') | utils/tests/pub/update/git/update_one_locked_test.dart » ('j') | no next file with comments »

Powered by Google App Engine