Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java |
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java |
index 594d170e44aa2b00ae91f0b78310156db5408c2b..585438b3282d059ef2093a024ff687ad23c24c48 100644 |
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java |
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java |
@@ -15,7 +15,6 @@ package com.google.dart.engine.resolver; |
import com.google.dart.engine.error.CompileTimeErrorCode; |
import com.google.dart.engine.error.HintCode; |
-import com.google.dart.engine.error.StaticTypeWarningCode; |
import com.google.dart.engine.error.StaticWarningCode; |
import com.google.dart.engine.source.Source; |
@@ -188,21 +187,6 @@ public class StaticWarningCodeTest extends ResolverTestCase { |
assertErrors(StaticWarningCode.AMBIGUOUS_IMPORT, CompileTimeErrorCode.EXTENDS_NON_CLASS); |
} |
- public void test_ambiguousImport_function() throws Exception { |
- Source source = addSource(createSource(// |
- "import 'lib1.dart';", |
- "import 'lib2.dart';", |
- "g() { return f(); }")); |
- addSource("/lib1.dart", createSource(// |
- "library lib1;", |
- "f() {}")); |
- addSource("/lib2.dart", createSource(// |
- "library lib2;", |
- "f() {}")); |
- resolve(source); |
- assertErrors(StaticWarningCode.AMBIGUOUS_IMPORT, StaticTypeWarningCode.UNDEFINED_FUNCTION); |
- } |
- |
public void test_ambiguousImport_implements() throws Exception { |
Source source = addSource(createSource(// |
"import 'lib1.dart';", |