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

Side by Side Diff: test/get/package_name_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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 'package:scheduled_test/scheduled_test.dart'; 5 import 'package:scheduled_test/scheduled_test.dart';
6 6
7 import 'package:pub/src/exit_codes.dart' as exit_codes; 7 import 'package:pub/src/exit_codes.dart' as exit_codes;
8 8
9 import '../descriptor.dart' as d; 9 import '../descriptor.dart' as d;
10 import '../test_pub.dart'; 10 import '../test_pub.dart';
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 d.dir(appPath, [ 58 d.dir(appPath, [
59 d.pubspec({ 59 d.pubspec({
60 "name": "foo.bar.baz", 60 "name": "foo.bar.baz",
61 "version": "1.0.0" 61 "version": "1.0.0"
62 }), 62 }),
63 d.libDir("foo.bar.baz", "foo.bar.baz 1.0.0") 63 d.libDir("foo.bar.baz", "foo.bar.baz 1.0.0")
64 ]).create(); 64 ]).create();
65 65
66 pubGet(); 66 pubGet();
67 67
68 d.packagesDir({"foo.bar.baz": "1.0.0"}).validate(); 68 d.dir(appPath, [
69 d.packagesFile({
70 "foo.bar.baz": "."
71 })
72 ]).validate();
69 }); 73 });
70 } 74 }
OLDNEW
« no previous file with comments | « test/get/hosted/unlock_if_version_doesnt_exist_test.dart ('k') | test/get/path/absolute_path_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698