Index: sdk/lib/_internal/pub_generated/test/list_package_dirs/missing_pubspec_test.dart |
diff --git a/sdk/lib/_internal/pub/test/list_package_dirs/missing_pubspec_test.dart b/sdk/lib/_internal/pub_generated/test/list_package_dirs/missing_pubspec_test.dart |
similarity index 60% |
copy from sdk/lib/_internal/pub/test/list_package_dirs/missing_pubspec_test.dart |
copy to sdk/lib/_internal/pub_generated/test/list_package_dirs/missing_pubspec_test.dart |
index ea32e58a2f8ae3f45bcaf4f3bd37965610edcbf5..0838cd2171b6585f37eedbc7ea5f76033baf3d43 100644 |
--- a/sdk/lib/_internal/pub/test/list_package_dirs/missing_pubspec_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/list_package_dirs/missing_pubspec_test.dart |
@@ -14,13 +14,10 @@ main() { |
integration("reports a missing pubspec error using JSON", () { |
d.dir(appPath).create(); |
- schedulePub(args: ["list-package-dirs", "--format=json"], |
- outputJson: { |
- "error": |
- 'Could not find a file named "pubspec.yaml" in "' |
- '${canonicalize(path.join(sandboxDir, appPath))}".', |
- "path": canonicalize(path.join(sandboxDir, appPath, "pubspec.yaml")) |
- }, |
- exitCode: 1); |
+ schedulePub(args: ["list-package-dirs", "--format=json"], outputJson: { |
+ "error": 'Could not find a file named "pubspec.yaml" in "' |
+ '${canonicalize(path.join(sandboxDir, appPath))}".', |
+ "path": canonicalize(path.join(sandboxDir, appPath, "pubspec.yaml")) |
+ }, exitCode: 1); |
}); |
-} |
+} |