| Index: sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart b/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| index 2e51f7b2b4ce0daeb7ea56c74936bdf0d0ae25d1..dc62e04551fa4223839790309e578034b6284ba0 100644
|
| --- a/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| @@ -19,12 +19,14 @@ main() {
|
| integration('sends the correct Accept header', () {
|
| var server = new ScheduledServer();
|
|
|
| - d.appDir([{
|
| - "hosted": {
|
| - "name": "foo",
|
| - "url": server.url.then((url) => url.toString())
|
| + d.appDir({
|
| + "foo": {
|
| + "hosted": {
|
| + "name": "foo",
|
| + "url": server.url.then((url) => url.toString())
|
| + }
|
| }
|
| - }]).create();
|
| + }).create();
|
|
|
| var pub = startPub(args: [command.name]);
|
|
|
| @@ -38,12 +40,14 @@ main() {
|
| integration('prints a friendly error if the version is out-of-date', () {
|
| var server = new ScheduledServer();
|
|
|
| - d.appDir([{
|
| - "hosted": {
|
| - "name": "foo",
|
| - "url": server.url.then((url) => url.toString())
|
| + d.appDir({
|
| + "foo": {
|
| + "hosted": {
|
| + "name": "foo",
|
| + "url": server.url.then((url) => url.toString())
|
| + }
|
| }
|
| - }]).create();
|
| + }).create();
|
|
|
| var pub = startPub(args: [command.name]);
|
|
|
|
|