| Index: sdk/lib/_internal/pub_generated/test/deps_test.dart
|
| diff --git a/sdk/lib/_internal/pub_generated/test/deps_test.dart b/sdk/lib/_internal/pub_generated/test/deps_test.dart
|
| index 06fddb6bf02acc6d8277eab77d765b8ea7a98e19..20403c2c90e8cc3ab7212b55780c58834b3fab86 100644
|
| --- a/sdk/lib/_internal/pub_generated/test/deps_test.dart
|
| +++ b/sdk/lib/_internal/pub_generated/test/deps_test.dart
|
| @@ -1,8 +1,15 @@
|
| +// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| +// 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:scheduled_test/scheduled_test.dart';
|
| +
|
| import 'descriptor.dart' as d;
|
| import 'test_pub.dart';
|
| +
|
| main() {
|
| initConfig();
|
| +
|
| setUp(() {
|
| servePackages((builder) {
|
| builder.serve("normal", "1.2.3", deps: {
|
| @@ -29,9 +36,11 @@ main() {
|
| "circular_a": "any"
|
| });
|
| });
|
| +
|
| d.dir(
|
| "from_path",
|
| [d.libDir("from_path"), d.libPubspec("from_path", "1.2.3")]).create();
|
| +
|
| d.dir(appPath, [d.pubspec({
|
| "name": "myapp",
|
| "dependencies": {
|
| @@ -50,6 +59,7 @@ main() {
|
| }
|
| })]).create();
|
| });
|
| +
|
| integration("lists dependencies in compact form", () {
|
| pubGet();
|
| schedulePub(args: ['deps', '-s', 'compact'], output: '''
|
| @@ -75,6 +85,7 @@ main() {
|
| - transitive 1.2.3 [shared]
|
| ''');
|
| });
|
| +
|
| integration("lists dependencies in list form", () {
|
| pubGet();
|
| schedulePub(args: ['deps', '--style', 'list'], output: '''
|
| @@ -107,6 +118,7 @@ main() {
|
| - shared any
|
| ''');
|
| });
|
| +
|
| integration("lists dependencies in tree form", () {
|
| pubGet();
|
| schedulePub(args: ['deps'], output: '''
|
|
|