| Index: compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
|
| index 82993a7f864d7967b2463c5bb0f6391f83a25760..69f92cc46801ba062a895e2678bf9b4a34ba6576 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
|
| @@ -19,7 +19,6 @@ import java.util.List;
|
| // TODO(ngeoffray): Move these tests to the VM tests once we can run VM tests.
|
| public class NegativeResolverTest extends CompilerTestCase {
|
| List<DartCompilationError> errors = new ArrayList<DartCompilationError>();
|
| - List<DartCompilationError> typeErrors = new ArrayList<DartCompilationError>();
|
|
|
| /**
|
| * Parses given Dart source, runs {@link Resolver} and checks that expected errors were generated.
|
| @@ -42,7 +41,6 @@ public class NegativeResolverTest extends CompilerTestCase {
|
| public void checkNumErrors(String fileName, int expectedErrorCount) {
|
| DartUnit unit = parseUnit(fileName);
|
| resolve(unit);
|
| - assertEquals(new ArrayList<DartCompilationError>(), typeErrors);
|
| if (errors.size() != expectedErrorCount) {
|
| fail(String.format(
|
| "Expected %s errors, but got %s: %s",
|
|
|