| 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 24b7630376f5838f730090a076a0fc7815386562..842e8ce1e155e5b3ac09195066a674621ad891a5 100644
|
| --- a/tests/compiler/dart2js/constant_folding_test.dart
|
| +++ b/tests/compiler/dart2js/constant_folding_test.dart
|
| @@ -31,10 +31,11 @@ foo(a, b, c, d) {
|
| """;
|
|
|
| main() {
|
| + var r = compile(NUMBER_FOLDING, 'main');
|
| compileAndMatch(
|
| - NUMBER_FOLDING, 'main', const RegExp(r"print\(7\)"));
|
| + NUMBER_FOLDING, 'main', const RegExp(r"p(rint)?\(7\)"));
|
| compileAndMatch(
|
| - NEGATIVE_NUMBER_FOLDING, 'main', const RegExp(r"print\(1\)"));
|
| + NEGATIVE_NUMBER_FOLDING, 'main', const RegExp(r"p(rint)?\(1\)"));
|
|
|
| String generated = compile(NULL_EQUALS_FOLDING, entry: 'foo');
|
| RegExp regexp = const RegExp(r'a == null');
|
|
|