Index: tests/compiler/dart2js/boolified_operator_test.dart |
diff --git a/tests/compiler/dart2js/boolified_operator_test.dart b/tests/compiler/dart2js/boolified_operator_test.dart |
index d1807a12eab7b69b19df3d03d5ea35d19523baaf..17581460f1241ddb76eb08b32950f6cd558913c8 100644 |
--- a/tests/compiler/dart2js/boolified_operator_test.dart |
+++ b/tests/compiler/dart2js/boolified_operator_test.dart |
@@ -47,7 +47,7 @@ foo(param0, param1) { |
"""; |
main() { |
- RegExp regexp = const RegExp('=== true'); |
+ RegExp regexp = new RegExp('=== true'); |
String generated = compile(TEST_EQUAL, entry: 'foo'); |
Expect.isFalse(generated.contains('=== true')); |