summaryrefslogtreecommitdiff
path: root/t/find_stowed_path.t
diff options
context:
space:
mode:
authorAdam Spiers <stow@adamspiers.org>2011-11-22 14:29:42 +0000
committerAdam Spiers <stow@adamspiers.org>2011-11-26 15:10:28 +0000
commit7bef0fb700671841b70b9c9b1da40794c21212e6 (patch)
tree72daa3f82f812cb4ab16e961bd267e4d0917b0ff /t/find_stowed_path.t
parenta7262a98bc6f3082f51f7c59fe1d2e466f50c06d (diff)
downloadstow-7bef0fb700671841b70b9c9b1da40794c21212e6.tar.gz
Clean up coding style in tests
Diffstat (limited to 't/find_stowed_path.t')
-rwxr-xr-xt/find_stowed_path.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/find_stowed_path.t b/t/find_stowed_path.t
index 199a534..7fac9f0 100755
--- a/t/find_stowed_path.t
+++ b/t/find_stowed_path.t
@@ -17,7 +17,7 @@ my $stow = new_Stow(dir => 't/stow');
is(
$stow->find_stowed_path('t/target/a/b/c', '../../../stow/a/b/c'),
- 't/stow/a/b/c',
+ 't/stow/a/b/c'
=> 'from root'
);
@@ -25,7 +25,7 @@ cd('t/target');
$stow->set_stow_dir('../stow');
is(
$stow->find_stowed_path('a/b/c','../../../stow/a/b/c'),
- '../stow/a/b/c',
+ '../stow/a/b/c'
=> 'from target directory'
);
@@ -35,13 +35,13 @@ $stow->set_stow_dir('t/target/stow');
is(
$stow->find_stowed_path('t/target/a/b/c', '../../stow/a/b/c'),
- 't/target/stow/a/b/c',
+ 't/target/stow/a/b/c'
=> 'stow is subdir of target directory'
);
is(
$stow->find_stowed_path('t/target/a/b/c','../../empty'),
- '',
+ ''
=> 'target is not stowed'
);