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

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

Issue 489173002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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: pkg/analysis_server/test/services/completion/imported_type_computer_test.dart
diff --git a/pkg/analysis_server/test/services/completion/imported_type_computer_test.dart b/pkg/analysis_server/test/services/completion/imported_type_computer_test.dart
index 221155a1c11eb36e6fbbab1c6e12b7a218ac4f81..ef68f57173083e68131c7fd40db43467dc32455f 100644
--- a/pkg/analysis_server/test/services/completion/imported_type_computer_test.dart
+++ b/pkg/analysis_server/test/services/completion/imported_type_computer_test.dart
@@ -142,10 +142,7 @@ class ImportedTypeComputerTest extends AbstractCompletionTest {
addSource('/testA.dart', 'class A { }');
addTestSource('import "/testA.dart"; class C {var ^}');
return computeFull().then((_) {
- // TODO (danrubel) should not be suggested
- // but var ^ in this test
- // parses differently than A ^ in test above
- assertSuggestClass('A');
+ assertNotSuggested('A');
});
}
@@ -189,10 +186,7 @@ class ImportedTypeComputerTest extends AbstractCompletionTest {
addSource('/testA.dart', 'class B { };');
addTestSource('import "/testA.dart"; class C {} var ^');
return computeFull().then((_) {
- // TODO (danrubel) should not be suggested
- // but var ^ in this test
- // parses differently than B ^ in test above
- assertSuggestClass('B');
+ assertNotSuggested('B');
});
}

Powered by Google App Engine
This is Rietveld 408576698