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

Unified Diff: pkg/analysis_server/test/services/completion/imported_computer_test.dart

Issue 565793002: fix code completion import dart exception (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 3 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
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/imported_computer.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/services/completion/imported_computer_test.dart
diff --git a/pkg/analysis_server/test/services/completion/imported_computer_test.dart b/pkg/analysis_server/test/services/completion/imported_computer_test.dart
index d2c5576ac9e56760356bf814e05908cee5d8da7c..2943da5f1c112d162098d2e63b0a80b6f5c8e5f5 100644
--- a/pkg/analysis_server/test/services/completion/imported_computer_test.dart
+++ b/pkg/analysis_server/test/services/completion/imported_computer_test.dart
@@ -162,6 +162,13 @@ class ImportedTypeComputerTest extends AbstractCompletionTest {
});
}
+ test_import_dart() {
+ addTestSource('import "dart^"; main() {}');
+ return computeFull().then((_) {
+ assertNotSuggested('T1');
+ });
+ }
+
test_topLevelVar() {
addSource('/testA.dart', 'String T1; var _T2;');
addTestSource('import "/testA.dart"; class C {foo(){^}}');
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/imported_computer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698