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

Unified Diff: pkg/analyzer/test/source/package_map_resolver_test.dart

Issue 914373004: Use package: URIs for files in lib (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added test and fixed URI usage 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
« no previous file with comments | « pkg/analyzer/test/generated/all_the_rest_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/source/package_map_resolver_test.dart
diff --git a/pkg/analyzer/test/source/package_map_resolver_test.dart b/pkg/analyzer/test/source/package_map_resolver_test.dart
index a12e361680fd6e6e7c254957bd3e896ef292f9d1..0869c56637a2d39bdbab4a0279ca3bc3eda2c9c6 100644
--- a/pkg/analyzer/test/source/package_map_resolver_test.dart
+++ b/pkg/analyzer/test/source/package_map_resolver_test.dart
@@ -162,13 +162,13 @@ class _PackageMapUriResolverTest {
Source source = _createFileSource('/pkgA/lib/libA.dart');
Uri uri = resolver.restoreAbsolute(source);
expect(uri, isNotNull);
- expect(uri.path, 'package:pkgA/libA.dart');
+ expect(uri.toString(), 'package:pkgA/libA.dart');
}
{
Source source = _createFileSource('/pkgB/lib/src/libB.dart');
Uri uri = resolver.restoreAbsolute(source);
expect(uri, isNotNull);
- expect(uri.path, 'package:pkgB/src/libB.dart');
+ expect(uri.toString(), 'package:pkgB/src/libB.dart');
}
{
Source source = _createFileSource('/no/such/file');
« no previous file with comments | « pkg/analyzer/test/generated/all_the_rest_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698