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

Unified Diff: lib/src/packages_impl.dart

Issue 1152173005: Add more tests (Closed) Base URL: https://github.com/dart-lang/package_config.git@master
Patch Set: Add test to all.dart Created 5 years, 7 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 | « lib/discovery.dart ('k') | test/all.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/packages_impl.dart
diff --git a/lib/src/packages_impl.dart b/lib/src/packages_impl.dart
index 612dc347d39e96ddae4ecacc5901fe67ddb6c6df..956376275da8416d7be98e90b27305fb16c76ab3 100644
--- a/lib/src/packages_impl.dart
+++ b/lib/src/packages_impl.dart
@@ -70,7 +70,7 @@ class FilePackagesDirectoryPackages extends _PackagesBase {
FilePackagesDirectoryPackages(this._packageDir);
Uri _getBase(String packageName) =>
- new Uri.directory(path.join(packageName,''));
+ new Uri.directory(path.join(_packageDir.path, packageName, ''));
Iterable<String> _listPackageNames() {
return _packageDir.listSync()
« no previous file with comments | « lib/discovery.dart ('k') | test/all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698