Index: sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart |
diff --git a/sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart b/sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart |
index d1bacfcf030bab9f3a2c39e631f9b41de0671435..22dc7e924a48d0e059afe2ad0e167cfec92ab26e 100644 |
--- a/sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart |
+++ b/sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart |
@@ -10,7 +10,7 @@ import '../../test_pub.dart'; |
main() { |
initConfig(); |
integration('fails if the package cound not be found on the source', () { |
- servePackages([]); |
+ servePackages((_) {}); |
Bob Nystrom
2014/08/21 16:44:17
Make the builder optional?
nweiz
2014/08/21 18:28:51
It would have to be named, which makes the normal
|
schedulePub(args: ["cache", "add", "foo"], |
error: new RegExp(r"Could not find package foo at http://.*"), |