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

Side by Side Diff: test/hosted/remove_removed_transitive_dependency_test.dart

Issue 2377063002: Make "--no-packages-dir" the default. (Closed)
Patch Set: Revise again. Created 4 years, 2 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import '../descriptor.dart' as d; 5 import '../descriptor.dart' as d;
6 import '../test_pub.dart'; 6 import '../test_pub.dart';
7 7
8 main() { 8 main() {
9 forBothPubGetAndUpgrade((command) { 9 forBothPubGetAndUpgrade((command) {
10 integration("removes a transitive dependency that's no longer depended " 10 integration("removes a transitive dependency that's no longer depended "
(...skipping 10 matching lines...) Expand all
21 builder.serve("bar_dep", "1.0.0"); 21 builder.serve("bar_dep", "1.0.0");
22 }); 22 });
23 23
24 d.appDir({ 24 d.appDir({
25 "foo": "any", 25 "foo": "any",
26 "bar": "any" 26 "bar": "any"
27 }).create(); 27 }).create();
28 28
29 pubCommand(command); 29 pubCommand(command);
30 30
31 d.packagesDir({ 31 d.appPackagesFile({
32 "foo": "1.0.0", 32 "foo": "1.0.0",
33 "bar": "1.0.0", 33 "bar": "1.0.0",
34 "shared_dep": "1.0.0", 34 "shared_dep": "1.0.0",
35 "bar_dep": "1.0.0", 35 "bar_dep": "1.0.0",
36 }).validate(); 36 }).validate();
37 37
38 d.appDir({"foo": "any"}).create(); 38 d.appDir({"foo": "any"}).create();
39 39
40 pubCommand(command); 40 pubCommand(command);
41 41
42 d.packagesDir({ 42 d.appPackagesFile({
43 "foo": "1.0.0", 43 "foo": "1.0.0",
44 "bar": null, 44 "shared_dep": "1.0.0"
45 "shared_dep": "1.0.0",
46 "bar_dep": null,
47 }).validate(); 45 }).validate();
48 }); 46 });
49 }); 47 });
50 } 48 }
OLDNEW
« no previous file with comments | « test/hosted/remove_removed_dependency_test.dart ('k') | test/implicit_barback_dependency_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698