Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Unified Diff: sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart

Issue 19592015: Get rid of hokey dependencyMapList stuff. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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]);

Powered by Google App Engine
This is Rietveld 408576698