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

Unified Diff: pkg/analysis_server/test/domain_completion_test.dart

Issue 904603004: rename completion constants and cleanup comment (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/domain_completion_test.dart
diff --git a/pkg/analysis_server/test/domain_completion_test.dart b/pkg/analysis_server/test/domain_completion_test.dart
index e406bfed601fb2128fc67b9dd34f805500fe429b..08fa7e6dfe90a88eca031a45888cbd709c45b504 100644
--- a/pkg/analysis_server/test/domain_completion_test.dart
+++ b/pkg/analysis_server/test/domain_completion_test.dart
@@ -262,7 +262,7 @@ class CompletionTest extends AbstractAnalysisTest {
}
void assertHasResult(CompletionSuggestionKind kind, String completion,
- [int relevance = COMPLETION_RELEVANCE_DEFAULT, bool isDeprecated = false,
+ [int relevance = DART_RELEVANCE_DEFAULT, bool isDeprecated = false,
bool isPotential = false]) {
var cs;
suggestions.forEach((s) {
@@ -445,11 +445,11 @@ class CompletionTest extends AbstractAnalysisTest {
assertHasResult(
CompletionSuggestionKind.KEYWORD,
'import',
- COMPLETION_RELEVANCE_HIGH);
+ DART_RELEVANCE_HIGH);
assertHasResult(
CompletionSuggestionKind.KEYWORD,
'class',
- COMPLETION_RELEVANCE_HIGH);
+ DART_RELEVANCE_HIGH);
});
}

Powered by Google App Engine
This is Rietveld 408576698