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

Unified Diff: sdk/lib/_internal/pub/test/list_package_dirs/lists_dependency_directories_test.dart

Issue 488323002: Make servePackages's contents argument saner. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 4 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: sdk/lib/_internal/pub/test/list_package_dirs/lists_dependency_directories_test.dart
diff --git a/sdk/lib/_internal/pub/test/list_package_dirs/lists_dependency_directories_test.dart b/sdk/lib/_internal/pub/test/list_package_dirs/lists_dependency_directories_test.dart
index 95a8c5df6d1474d43bfbc050f6ec1c4f10584880..fe29d819547bd4c70638f735d92f680b0036620a 100644
--- a/sdk/lib/_internal/pub/test/list_package_dirs/lists_dependency_directories_test.dart
+++ b/sdk/lib/_internal/pub/test/list_package_dirs/lists_dependency_directories_test.dart
@@ -11,7 +11,7 @@ import '../test_pub.dart';
main() {
initConfig();
integration('prints the local paths to all packages in the lockfile', () {
- servePackages([packageMap("bar", "1.0.0")]);
+ servePackages((builder) => builder.serve("bar", "1.0.0"));
d.dir("foo", [
d.libDir("foo"),
« no previous file with comments | « sdk/lib/_internal/pub/test/implicit_dependency_test.dart ('k') | sdk/lib/_internal/pub/test/no_package_symlinks_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698