Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/scope/LibraryImportScopeTest.java

Issue 27444002: Report CONFLICTING_DART_IMPORT when dart: import is implicitly hidden. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/scope/LibraryImportScopeTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/scope/LibraryImportScopeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/scope/LibraryImportScopeTest.java
index 44d95670f335b3e087887a8d9215974373bdb060..c3b79d74225e67c2ba0cd197213f72f869d08079 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/scope/LibraryImportScopeTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/scope/LibraryImportScopeTest.java
@@ -151,7 +151,7 @@ public class LibraryImportScopeTest extends ResolverTestCase {
Scope scope = new LibraryImportScope(importingLibrary, errorListener);
assertEquals(type, scope.lookup(identifier(typeName), importingLibrary));
- errorListener.assertNoErrors();
+ errorListener.assertErrors(StaticWarningCode.CONFLICTING_DART_IMPORT);
}
public void test_nonConflictingImports_sameElement() {

Powered by Google App Engine
This is Rietveld 408576698