summaryrefslogtreecommitdiffstats
path: root/test/fzf.vader
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2016-07-06 13:31:04 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2016-07-06 13:31:04 +0900
commit942ba749c7971076a650b899b4d44e0cced5f167 (patch)
tree9e82d1c9bf291074847386cda789b59456adf387 /test/fzf.vader
parentf941012687e3237e1f6792f801cde8190216702e (diff)
[vim] Restore working directory even when new window is opened
Close #612
Diffstat (limited to 'test/fzf.vader')
-rw-r--r--test/fzf.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fzf.vader b/test/fzf.vader
index 78bc6c59..47f2bfcd 100644
--- a/test/fzf.vader
+++ b/test/fzf.vader
@@ -43,6 +43,11 @@ Execute (fzf#run with dir option and noautochdir):
" No change in working directory
AssertEqual cwd, getcwd()
+ call fzf#run({'source': ['/foobar'], 'sink': 'tabe', 'dir': '/tmp', 'options': '-1'})
+ AssertEqual cwd, getcwd()
+ tabclose
+ AssertEqual cwd, getcwd()
+
Execute (Incomplete fzf#run with dir option and autochdir):
set acd
let cwd = getcwd()