summaryrefslogtreecommitdiff
path: root/test/rcup-spaces.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/rcup-spaces.t')
-rw-r--r--test/rcup-spaces.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/rcup-spaces.t b/test/rcup-spaces.t
new file mode 100644
index 0000000..00c50be
--- /dev/null
+++ b/test/rcup-spaces.t
@@ -0,0 +1,10 @@
+ $ . "$TESTDIR/helper.sh"
+
+Should create symlinks for files in directories with whitespace in their names
+
+ $ mkdir .dotfiles/sub\ dir
+ > touch .dotfiles/sub\ dir/example
+
+ $ rcup >/dev/null
+
+ $ assert_linked "$HOME/.sub dir/example" "$HOME/.dotfiles/sub dir/example"