| Index: compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
|
| index fa7c79507ad735d6cc91024d1e91cff5723b0953..dc76e65986db1884688de87e9792e567ea70f366 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
|
| @@ -267,16 +267,6 @@ public class ResolverTest extends ResolverTestCase {
|
| );
|
| }
|
|
|
| - public void testBadFactory() {
|
| - // Another interface should be in scope to name 'foo' as a constructor
|
| - resolveAndTest(Joiner.on("\n").join(
|
| - "class Object {}",
|
| - "class Zebra {",
|
| - " factory foo() {}",
|
| - "}"),
|
| - ResolverErrorCode.NO_SUCH_TYPE_CONSTRUCTOR);
|
| - }
|
| -
|
| public void test_constFactory() throws Exception {
|
| resolveAndTest(Joiner.on("\n").join(
|
| "class Object {}",
|
| @@ -581,7 +571,7 @@ public class ResolverTest extends ResolverTestCase {
|
| " }",
|
| " }",
|
| "}"),
|
| - ResolverErrorCode.NO_SUCH_TYPE);
|
| + TypeErrorCode.NO_SUCH_TYPE);
|
| }
|
|
|
| public void test_const_array() throws Exception {
|
|
|