| Index: sdk/lib/_internal/pub/test/list_package_dirs/ignores_updated_pubspec_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/list_package_dirs/ignores_updated_pubspec_test.dart b/sdk/lib/_internal/pub/test/list_package_dirs/ignores_updated_pubspec_test.dart
|
| index bc13c27a2ddbbd9fe8f841af921656e99419c0ed..6d539a60275f94bcbc00db79c284b194dd393bba 100644
|
| --- a/sdk/lib/_internal/pub/test/list_package_dirs/ignores_updated_pubspec_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/list_package_dirs/ignores_updated_pubspec_test.dart
|
| @@ -4,8 +4,7 @@
|
|
|
| import 'package:path/path.dart' as path;
|
|
|
| -import '../../lib/src/exit_codes.dart' as exit_codes;
|
| -
|
| +import '../../lib/src/io.dart';
|
| import '../descriptor.dart' as d;
|
| import '../test_pub.dart';
|
|
|
| @@ -32,9 +31,19 @@ main() {
|
| })
|
| ]).create();
|
|
|
| + // Note: Using canonicalize here because pub gets the path to the
|
| + // entrypoint package from the working directory, which has had symlinks
|
| + // resolve. On Mac, "/tmp" is actually a symlink to "/private/tmp", so we
|
| + // need to accomodate that.
|
| schedulePub(args: ["list-package-dirs", "--format=json"],
|
| outputJson: {
|
| - "foo": path.join(sandboxDir, "foo")
|
| + "packages": {
|
| + "foo": path.join(sandboxDir, "foo", "lib"),
|
| + "myapp": canonicalize(path.join(sandboxDir, appPath, "lib"))
|
| + },
|
| + "input_files": [
|
| + canonicalize(path.join(sandboxDir, appPath, "pubspec.lock"))
|
| + ]
|
| });
|
| });
|
| }
|
|
|