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

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

Issue 580623002: add element to completion suggestions (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
Index: pkg/analysis_server/test/context_manager_test.dart
diff --git a/pkg/analysis_server/test/context_manager_test.dart b/pkg/analysis_server/test/context_manager_test.dart
index 73b260726332e3e074e144339a4186c90f633490..9086618a373b7bce497b9b8230e786614684f292 100644
--- a/pkg/analysis_server/test/context_manager_test.dart
+++ b/pkg/analysis_server/test/context_manager_test.dart
@@ -106,12 +106,12 @@ class ContextManagerTest {
manager.setRoots(<String>[projPath], <String>[]);
return pumpEventQueue().then((_) {
expect(manager.currentContextPaths.toSet(),
- [projPath, subdir1Path, subdir2Path].toSet());
+ [subdir1Path, subdir2Path, projPath].toSet());
manager.now++;
manager.refresh();
return pumpEventQueue().then((_) {
expect(manager.currentContextPaths.toSet(),
- [projPath, subdir1Path, subdir2Path].toSet());
+ [subdir1Path, subdir2Path, projPath].toSet());
expect(manager.currentContextTimestamps[projPath], manager.now);
expect(manager.currentContextTimestamps[subdir1Path], manager.now);
expect(manager.currentContextTimestamps[subdir2Path], manager.now);

Powered by Google App Engine
This is Rietveld 408576698