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. |