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

Unified Diff: pkg/analysis_server/test/services/completion/local_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/local_computer_test.dart
diff --git a/pkg/analysis_server/test/services/completion/local_computer_test.dart b/pkg/analysis_server/test/services/completion/local_computer_test.dart
index f2bffc5b6b2b23a743ffa9e932ac91cc9db8f72a..a3bc53664e8c6f99b693072f830fd228b06658a4 100644
--- a/pkg/analysis_server/test/services/completion/local_computer_test.dart
+++ b/pkg/analysis_server/test/services/completion/local_computer_test.dart
@@ -68,10 +68,7 @@ class LocalComputerTest extends AbstractCompletionTest {
test_field_name2() {
addTestSource('class A {var ^}}');
expect(computeFast(), isTrue);
- //TODO (danrubel) should not be suggested
- // but var ^ in this test
- // parses differently than B ^ in test above
- assertSuggestClass('A');
+ assertNotSuggested('A');
}
test_for() {
@@ -146,10 +143,7 @@ class LocalComputerTest extends AbstractCompletionTest {
test_topLevelVar_name2() {
addTestSource('class A {} var ^');
expect(computeFast(), isTrue);
- // TODO (danrubel) should not be suggested
- // but var ^ in this test
- // parses differently than B ^ in test above
- assertSuggestClass('A');
+ assertNotSuggested('A');
}
test_variableDeclaration() {
« no previous file with comments | « pkg/analysis_server/test/services/completion/imported_type_computer_test.dart ('k') | pkg/analyzer/CHANGELOG.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698