Index: sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
diff --git a/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart b/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
index 763ab963e3d0c6ca4c8ac1ac1099bc1cc004bfeb..ccdfa07ebb7ec4a257b3244021c7e1c1eebd4a54 100644 |
--- a/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
+++ b/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
@@ -18,11 +18,8 @@ main() { |
var fooPath = path.join(sandboxDir, "foo"); |
d.dir(appPath, [ |
- d.pubspec({ |
- "name": "myapp", |
- "dependencies": { |
- "foo": {"path": fooPath} |
- } |
+ d.appPubspec({ |
+ "foo": {"path": fooPath} |
}) |
]).create(); |