| Index: compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java
|
| index 8a043eff5d937ee973bd4de25828ea1be3f150ca..92f6e656c5a40169cc910af087dd5af43e83066a 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java
|
| @@ -247,7 +247,7 @@ public class ResolverCompilerTest extends CompilerTestCase {
|
| " }",
|
| "}"));
|
| assertErrors(
|
| - libraryResult.getCompilationErrors(),
|
| + libraryResult.getErrors(),
|
| errEx(ResolverErrorCode.NEW_EXPRESSION_NOT_CONSTRUCTOR, 5, 9, 5));
|
| DartUnit unit = libraryResult.getLibraryUnitResult().getUnits().iterator().next();
|
| DartNewExpression newExpression = findExpression(unit, "new A.foo()");
|
|
|