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

Unified Diff: test/get/path/absolute_path_test.dart

Issue 2377063002: Make "--no-packages-dir" the default. (Closed)
Patch Set: Revise again. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/get/package_name_test.dart ('k') | test/get/path/absolute_symlink_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/get/path/absolute_path_test.dart
diff --git a/test/get/path/absolute_path_test.dart b/test/get/path/absolute_path_test.dart
index 48cbd6c193906a4eea11c305fbf439d679eac2cf..a374249a0aae265bf38a08989d95b3e5158d9775 100644
--- a/test/get/path/absolute_path_test.dart
+++ b/test/get/path/absolute_path_test.dart
@@ -20,23 +20,10 @@ main() {
})
]).create();
- pubGet();
+ pubGet(args: ["--packages-dir"]);
- d.dir(packagesPath, [
- d.dir("foo", [
- d.file("foo.dart", 'main() => "foo";')
- ])
- ]).validate();
-
- // Move the packages directory and ensure the symlink still works. That
- // will validate that we actually created an absolute symlink.
- d.dir("moved").create();
- scheduleRename(packagesPath, "moved/packages");
-
- d.dir("moved/packages", [
- d.dir("foo", [
- d.file("foo.dart", 'main() => "foo";')
- ])
- ]).validate();
+ d.appPackagesFile({
+ "foo": path.join(sandboxDir, "foo")
+ }).validate();
});
-}
+}
« no previous file with comments | « test/get/package_name_test.dart ('k') | test/get/path/absolute_symlink_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698