| Index: tests/fletchc/incremental/feature_test.dart
|
| diff --git a/tests/fletchc/incremental/feature_test.dart b/tests/fletchc/incremental/feature_test.dart
|
| index 5b448191f515f6005dec313bb6a801a90ac7fcc9..d44052cdd26b719d265c0efd33e92380116bbfc1 100644
|
| --- a/tests/fletchc/incremental/feature_test.dart
|
| +++ b/tests/fletchc/incremental/feature_test.dart
|
| @@ -40,7 +40,7 @@ import 'package:compiler/src/elements/elements.dart' show
|
| FunctionElement,
|
| LibraryElement;
|
|
|
| -import 'package:compiler/src/dart2jslib.dart' show
|
| +import 'package:compiler/src/compiler.dart' show
|
| Compiler;
|
|
|
| import 'package:compiler/src/source_file_provider.dart' show
|
| @@ -261,7 +261,7 @@ compileAndRun(
|
| for (var breakpoint in breakpoints) {
|
| print("Added breakpoint: $breakpoint");
|
| }
|
| - if (!helper.compiler.compiler.mainFunction.isErroneous) {
|
| + if (!helper.compiler.compiler.mainFunction.isMalformed) {
|
| // If there's a syntax error in main, we cannot find it to set a
|
| // breakpoint.
|
| // TODO(ahe): Consider if this is a problem?
|
| @@ -299,7 +299,8 @@ compileAndRun(
|
| }
|
|
|
| List<String> actualMessages = session.stdoutSink.takeLines();
|
| - Expect.listEquals(messages, actualMessages);
|
| + Expect.listEquals(messages, actualMessages,
|
| + "Expected $messages, got $actualMessages");
|
|
|
| // TODO(ahe): Enable SerializeScopeTestCase for multiple parts.
|
| if (!isFirstProgram && program.code is String) {
|
|
|