| Index: tests/compiler/dart2js/code_motion_test.dart
|
| diff --git a/tests/compiler/dart2js/code_motion_test.dart b/tests/compiler/dart2js/code_motion_test.dart
|
| index 89005443e9f8c982b2fe52b8fac27bb3386485a0..f06cd056b39258d7e8561618036d98c913d5ea01 100644
|
| --- a/tests/compiler/dart2js/code_motion_test.dart
|
| +++ b/tests/compiler/dart2js/code_motion_test.dart
|
| @@ -19,7 +19,7 @@ foo(int a, int b, bool param2) {
|
|
|
| main() {
|
| String generated = compile(TEST_ONE, entry: 'foo');
|
| - RegExp regexp = const RegExp('a \\+ b');
|
| + RegExp regexp = new RegExp('a \\+ b');
|
| Iterator matches = regexp.allMatches(generated).iterator();
|
| Expect.isTrue(matches.hasNext);
|
| matches.next();
|
|
|