Index: tests/compiler/dart2js/dead_phi_eliminator_test.dart |
diff --git a/tests/compiler/dart2js/dead_phi_eliminator_test.dart b/tests/compiler/dart2js/dead_phi_eliminator_test.dart |
index 8ba3387ef9d16cc8c64b046880f26f1b1492c5fe..82ed1c651a84e883d2bf8fce85ceb221942a4d4e 100644 |
--- a/tests/compiler/dart2js/dead_phi_eliminator_test.dart |
+++ b/tests/compiler/dart2js/dead_phi_eliminator_test.dart |
@@ -17,6 +17,6 @@ void foo(bar) { |
main() { |
String generated = compile(TEST_ONE, entry: 'foo'); |
- RegExp regexp = new RegExp("toBeRemoved"); |
+ RegExp regexp = const RegExp("toBeRemoved"); |
Expect.isTrue(!regexp.hasMatch(generated)); |
} |