| Index: test/lish/uses_publish_to_url_test.dart
|
| diff --git a/test/lish/uses_publish_to_url_test.dart b/test/lish/uses_publish_to_url_test.dart
|
| index 4d6d1e754d30bcc09a88904ca1da7976c1c0a387..6484e0360b1c5e53a9e3a02136e4e8287e90dc76 100644
|
| --- a/test/lish/uses_publish_to_url_test.dart
|
| +++ b/test/lish/uses_publish_to_url_test.dart
|
| @@ -2,6 +2,7 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +import 'package:pub/src/exit_codes.dart' as exit_codes;
|
| import 'package:scheduled_test/scheduled_test.dart';
|
|
|
| import '../descriptor.dart' as d;
|
| @@ -9,12 +10,13 @@ import '../test_pub.dart';
|
|
|
| main() {
|
| initConfig();
|
| - integration('preview shows an error if the package is private', () {
|
| + integration('uses the publish_to URL', () {
|
| var pkg = packageMap("test_pkg", "1.0.0");
|
| pkg["publish_to"] = "http://example.com";
|
| d.dir(appPath, [d.pubspec(pkg)]).create();
|
|
|
| schedulePub(args: ["lish", "--dry-run"],
|
| - output: contains("Publishing test_pkg 1.0.0 to http://example.com"));
|
| + output: contains("Publishing test_pkg 1.0.0 to http://example.com"),
|
| + exitCode: exit_codes.DATA);
|
| });
|
| }
|
|
|