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(); |
}); |
-} |
+} |