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

Unified Diff: tests/compiler/dart2js/rewrite_better_user_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
Index: tests/compiler/dart2js/rewrite_better_user_test.dart
diff --git a/tests/compiler/dart2js/rewrite_better_user_test.dart b/tests/compiler/dart2js/rewrite_better_user_test.dart
index 756c77f76120129e5527a4534eba95994a13df36..a5419f300e4f7b6ae80b43b91deb912aee39078a 100644
--- a/tests/compiler/dart2js/rewrite_better_user_test.dart
+++ b/tests/compiler/dart2js/rewrite_better_user_test.dart
@@ -26,7 +26,7 @@ main() {
main() {
String generated = compileAll(TEST);
- RegExp regexp = new RegExp('foo\\\$0\\\$bailout');
+ RegExp regexp = const RegExp('foo\\\$0\\\$bailout');
Iterator matches = regexp.allMatches(generated).iterator();
// We check that there is only one call to the bailout method.
« no previous file with comments | « tests/compiler/dart2js/redundant_phi_eliminator_test.dart ('k') | tests/compiler/dart2js/type_guard_unuser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698