Chromium Code Reviews| Index: sdk/lib/_internal/pub/test/lish/server_arg_overrides_publish_to_url_test.dart |
| diff --git a/sdk/lib/_internal/pub/test/barback/fails_if_args_with_all_test.dart b/sdk/lib/_internal/pub/test/lish/server_arg_overrides_publish_to_url_test.dart |
| similarity index 52% |
| copy from sdk/lib/_internal/pub/test/barback/fails_if_args_with_all_test.dart |
| copy to sdk/lib/_internal/pub/test/lish/server_arg_overrides_publish_to_url_test.dart |
| index 42f79431d630a6b1ac02ab1945d9c6988860acef..e07b5557823123ed85895ef00956e345e468cef6 100644 |
| --- a/sdk/lib/_internal/pub/test/barback/fails_if_args_with_all_test.dart |
| +++ b/sdk/lib/_internal/pub/test/lish/server_arg_overrides_publish_to_url_test.dart |
| @@ -4,20 +4,17 @@ |
| import 'package:scheduled_test/scheduled_test.dart'; |
| -import '../../lib/src/exit_codes.dart' as exit_codes; |
| import '../descriptor.dart' as d; |
| import '../test_pub.dart'; |
| -import 'utils.dart'; |
| main() { |
| initConfig(); |
| + integration('preview shows an error if the package is private', () { |
|
nweiz
2014/08/01 01:12:13
Wrong description.
Bob Nystrom
2014/08/04 21:16:44
Done.
|
| + var pkg = packageMap("test_pkg", "1.0.0"); |
| + pkg["publishTo"] = "http://pubspec.com"; |
| + d.dir(appPath, [d.pubspec(pkg)]).create(); |
| - setUp(() { |
| - d.appDir().create(); |
| + schedulePub(args: ["lish", "--dry-run", "--server", "http://arg.com"], |
| + output: contains("http://arg.com")); |
| }); |
| - |
| - pubBuildAndServeShouldFail("if a directory is passed with --all", |
| - args: ["example", "--all"], |
| - error: 'Directory names are not allowed if "--all" is passed.', |
| - exitCode: exit_codes.USAGE); |
| } |