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

Unified Diff: sdk/lib/_internal/pub_generated/test/get/hosted/avoid_network_requests_test.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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_generated/test/get/hosted/avoid_network_requests_test.dart
diff --git a/sdk/lib/_internal/pub/test/get/hosted/avoid_network_requests_test.dart b/sdk/lib/_internal/pub_generated/test/get/hosted/avoid_network_requests_test.dart
similarity index 80%
copy from sdk/lib/_internal/pub/test/get/hosted/avoid_network_requests_test.dart
copy to sdk/lib/_internal/pub_generated/test/get/hosted/avoid_network_requests_test.dart
index 27ccca322f117dc2a109bf203c0fe87be430db89..3421e8fc55774304e0cbfcf9762da61ffa3ee386 100644
--- a/sdk/lib/_internal/pub/test/get/hosted/avoid_network_requests_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/get/hosted/avoid_network_requests_test.dart
@@ -50,14 +50,12 @@ main() {
// The get should not have done any network requests since the lock file is
// up to date.
getRequestedPaths().then((paths) {
- expect(paths, unorderedEquals([
- // Bar should be requested because it's new, but not foo.
- "api/packages/bar",
- // Should only request the most recent version.
- "api/packages/bar/versions/1.2.0",
- // Need to download it.
- "packages/bar/versions/1.2.0.tar.gz"
- ]));
+ expect(
+ paths,
+ unorderedEquals([// Bar should be requested because it's new, but not foo.
+ "api/packages/bar", // Should only request the most recent version.
+ "api/packages/bar/versions/1.2.0", // Need to download it.
+ "packages/bar/versions/1.2.0.tar.gz"]));
});
});
}

Powered by Google App Engine
This is Rietveld 408576698