Index: sdk/lib/_internal/pub/test/unknown_source_test.dart |
diff --git a/sdk/lib/_internal/pub/test/unknown_source_test.dart b/sdk/lib/_internal/pub/test/unknown_source_test.dart |
index 5f42f706d0c6e55b2dc3b702fd7141b16d368771..9d23250cd835487e38a9396ab41211b7d0bc42a1 100644 |
--- a/sdk/lib/_internal/pub/test/unknown_source_test.dart |
+++ b/sdk/lib/_internal/pub/test/unknown_source_test.dart |
@@ -42,11 +42,8 @@ main() { |
// Depend on "foo" from a valid source. |
d.dir(appPath, [ |
- d.pubspec({ |
- "name": "myapp", |
- "dependencies": { |
- "foo": {"path": "../foo"} |
- } |
+ d.appPubspec({ |
+ "foo": {"path": "../foo"} |
}) |
]).create(); |