| Index: tests/compiler/dart2js/js_backend_cps_ir_test.dart
|
| diff --git a/tests/compiler/dart2js/js_backend_cps_ir_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_test.dart
|
| index 75cf4d8dd386e5d2b78fc052a1078b30701fe7f9..f666a10fdc3d239d13fed0dfe41e5e3c1265cb0d 100644
|
| --- a/tests/compiler/dart2js/js_backend_cps_ir_test.dart
|
| +++ b/tests/compiler/dart2js/js_backend_cps_ir_test.dart
|
| @@ -16,12 +16,14 @@ import 'package:compiler/src/common.dart' show Element;
|
|
|
| import 'js_backend_cps_ir_basic.dart' as basic;
|
| import 'js_backend_cps_ir_literals.dart' as literals;
|
| +import 'js_backend_cps_ir_operators.dart' as operators;
|
|
|
| const String TEST_MAIN_FILE = 'test.dart';
|
|
|
| List<TestEntry> tests = <TestEntry>[]
|
| ..addAll(basic.tests)
|
| - ..addAll(literals.tests);
|
| + ..addAll(literals.tests)
|
| + ..addAll(operators.tests);
|
|
|
| class TestEntry {
|
| final String source;
|
| @@ -51,7 +53,11 @@ main() {
|
| Expect.isNotNull(compiler.assembledCode);
|
| String expectation = test.expectation;
|
| if (expectation != null) {
|
| - Expect.equals(test.expectation, getCodeForMain(compiler));
|
| + String expected = test.expectation;
|
| + String found = getCodeForMain(compiler);
|
| + if (expected != found) {
|
| + Expect.fail('Expected:\n$expected\nbut found\n$found');
|
| + }
|
| }
|
| }).catchError((e) {
|
| print(e);
|
|
|