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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/downgrade/unlock_dependers_test.dart

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 library pub_tests;
2 import '../descriptor.dart' as d;
3 import '../test_pub.dart';
4 main() {
5 initConfig();
6 integration(
7 "downgrades a locked package's dependers in order to get it to " "min vers ion",
8 () {
9 servePackages((builder) {
10 builder.serve("foo", "2.0.0", deps: {
11 "bar": ">1.0.0"
12 });
13 builder.serve("bar", "2.0.0");
14 });
15 d.appDir({
16 "foo": "any",
17 "bar": "any"
18 }).create();
19 pubGet();
20 d.packagesDir({
21 "foo": "2.0.0",
22 "bar": "2.0.0"
23 }).validate();
24 servePackages((builder) {
25 builder.serve("foo", "1.0.0", deps: {
26 "bar": "any"
27 });
28 builder.serve("bar", "1.0.0");
29 });
30 pubDowngrade(args: ['bar']);
31 d.packagesDir({
32 "foo": "1.0.0",
33 "bar": "1.0.0"
34 }).validate();
35 });
36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698