| Index: tests/compiler/dart2js/constant_folding_test.dart
|
| diff --git a/tests/compiler/dart2js/constant_folding_test.dart b/tests/compiler/dart2js/constant_folding_test.dart
|
| index 5b477aa6c19d33dab371ee9d8a8e31e27ea03090..4f9a8ef27081e7651682d383b8e2c2a470d1c8e2 100644
|
| --- a/tests/compiler/dart2js/constant_folding_test.dart
|
| +++ b/tests/compiler/dart2js/constant_folding_test.dart
|
| @@ -32,18 +32,18 @@ foo(a, b, c, d) {
|
|
|
| main() {
|
| compileAndMatch(
|
| - NUMBER_FOLDING, 'main', const RegExp(@"print\(7\)"));
|
| + NUMBER_FOLDING, 'main', const RegExp(r"print\(7\)"));
|
| compileAndMatch(
|
| - NEGATIVE_NUMBER_FOLDING, 'main', const RegExp(@"print\(1\)"));
|
| + NEGATIVE_NUMBER_FOLDING, 'main', const RegExp(r"print\(1\)"));
|
|
|
| String generated = compile(NULL_EQUALS_FOLDING, 'foo');
|
| - RegExp regexp = const RegExp(@'a == null');
|
| + RegExp regexp = const RegExp(r'a == null');
|
| Expect.isTrue(regexp.hasMatch(generated));
|
|
|
| - regexp = const RegExp(@'null == b');
|
| + regexp = const RegExp(r'null == b');
|
| Expect.isTrue(regexp.hasMatch(generated));
|
|
|
| - regexp = const RegExp(@'4 === c');
|
| + regexp = const RegExp(r'4 === c');
|
| Expect.isTrue(regexp.hasMatch(generated));
|
|
|
| regexp = const RegExp("'foo' === d");
|
|
|