summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/join_paths.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/join_paths.t b/t/join_paths.t
index 37157a5..585cae9 100755
--- a/t/join_paths.t
+++ b/t/join_paths.t
@@ -9,7 +9,7 @@ use warnings;
use Stow::Util qw(join_paths);
-use Test::More tests => 13;
+use Test::More tests => 14;
is(
join_paths('a/b/c', 'd/e/f'),
@@ -89,3 +89,9 @@ is(
'../a2'
=> 'drop any "./"'
);
+
+is(
+ join_paths('a/b/c', '.'),
+ 'a/b/c'
+ => '. on RHS'
+);