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

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

Issue 2812093002: Simplify PackageMapUriResolver - one folder, return any file, or null. (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | pkg/analyzer/lib/source/package_map_resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 43026ebf223d5fc001bb0e420fc52077bbdfc387..c928026a38eeef69fcca3ed6e59dfe81d4a1fe3b 100644
--- a/pkg/analysis_server/test/context_manager_test.dart
+++ b/pkg/analysis_server/test/context_manager_test.dart
@@ -440,9 +440,8 @@ test_pack:lib/''');
expect(contextsInAnalysisRoot, hasLength(1));
expect(contextsInAnalysisRoot[0], isNotNull);
}
- Source result = sourceFactory.forUri('package:foo/foo.dart');
+ Source result = sourceFactory.forUri('dart:async');
expect(result, isNotNull);
- expect(result.exists(), isFalse);
}
void test_setRoots_addFolderWithDartFileInSubfolder() {
« no previous file with comments | « no previous file | pkg/analyzer/lib/source/package_map_resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698