t/find_stowed_path.t: Add a couple of missing spaces

This commit is contained in:
Adam Spiers 2024-03-09 18:11:29 +00:00
parent 9db0de3005
commit 1657c5b772

View file

@ -69,7 +69,7 @@ make_path("$TEST_DIR/target/stow2");
make_file("$TEST_DIR/target/stow2/.stow");
($path, $stow_path, $package) =
$stow->find_stowed_path("$TEST_DIR/target/a/b/c","../../stow2/a/b/c");
$stow->find_stowed_path("$TEST_DIR/target/a/b/c", "../../stow2/a/b/c");
is($path, "$TEST_DIR/target/stow2/a/b/c", "path");
is($stow_path, "$TEST_DIR/target/stow2", "stow path");
is($package, "a", "detect alternate stow directory");
@ -77,7 +77,7 @@ is($package, "a", "detect alternate stow directory");
# Possible corner case with rogue symlink pointing to ancestor of
# stow dir.
($path, $stow_path, $package) =
$stow->find_stowed_path("$TEST_DIR/target/a/b/c","../../..");
$stow->find_stowed_path("$TEST_DIR/target/a/b/c", "../../..");
is($path, "", "path");
is($stow_path, "", "stow path");
is($package, "", "corner case - link points to ancestor of stow dir");