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

Unified Diff: test/no_packages_dir_test.dart

Issue 2250643003: Add a --[no]-packages-dir flag. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 4 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
« lib/src/entrypoint.dart ('K') | « test/no_package_symlinks_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/no_packages_dir_test.dart
diff --git a/test/no_package_symlinks_test.dart b/test/no_packages_dir_test.dart
similarity index 88%
rename from test/no_package_symlinks_test.dart
rename to test/no_packages_dir_test.dart
index 64484927a2406373afa06eded8ab9347ba30fa8e..579788e6502165afefa1f51641be614dccee92c3 100644
--- a/test/no_package_symlinks_test.dart
+++ b/test/no_packages_dir_test.dart
@@ -9,7 +9,7 @@ import 'test_pub.dart';
main() {
forBothPubGetAndUpgrade((command) {
- group("with --no-package-symlinks", () {
+ group("with --no-packages-dir", () {
integration("installs hosted dependencies to the cache", () {
servePackages((builder) {
builder.serve("foo", "1.0.0");
@@ -18,7 +18,7 @@ main() {
d.appDir({"foo": "any", "bar": "any"}).create();
- pubCommand(command, args: ["--no-package-symlinks"]);
+ pubCommand(command, args: ["--no-packages-dir"]);
d.nothing("$appPath/packages").validate();
@@ -42,7 +42,7 @@ main() {
d.appDir({"foo": {"git": "../foo.git"}}).create();
- pubCommand(command, args: ["--no-package-symlinks"]);
+ pubCommand(command, args: ["--no-packages-dir"]);
d.nothing("$appPath/packages").validate();
@@ -66,7 +66,7 @@ main() {
})
]).create();
- pubCommand(command, args: ["--no-package-symlinks"]);
+ pubCommand(command, args: ["--no-packages-dir"]);
d.nothing("$appPath/packages").validate();
d.matcherFile("$appPath/pubspec.lock", contains("foo"));
@@ -81,7 +81,7 @@ main() {
d.dir("web/subdir/packages")
]).create();
- pubCommand(command, args: ["--no-package-symlinks"]);
+ pubCommand(command, args: ["--no-packages-dir"]);
d.dir(appPath, [
d.nothing("packages"),
@@ -100,7 +100,7 @@ main() {
d.dir("lib/packages")
]).create();
- pubCommand(command, args: ["--no-package-symlinks"]);
+ pubCommand(command, args: ["--no-packages-dir"]);
d.dir(appPath, [
d.nothing("packages"),
« lib/src/entrypoint.dart ('K') | « test/no_package_symlinks_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698