aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/Makefile1
-rw-r--r--src/nvim/testdir/test_autochdir.vim17
2 files changed, 0 insertions, 18 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index 5bb7fd1dda..612071e2e2 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -30,7 +30,6 @@ SCRIPTS := \
# Tests using runtest.vim.vim.
# Keep test_alot*.res as the last one, sort the others.
NEW_TESTS = \
- test_autochdir.res \
test_bufwintabinfo.res \
test_cmdline.res \
test_cscope.res \
diff --git a/src/nvim/testdir/test_autochdir.vim b/src/nvim/testdir/test_autochdir.vim
deleted file mode 100644
index f52e2e668a..0000000000
--- a/src/nvim/testdir/test_autochdir.vim
+++ /dev/null
@@ -1,17 +0,0 @@
-" Test 'autochdir' behavior
-
-if !exists("+autochdir")
- finish
-endif
-
-func Test_set_filename()
- call test_autochdir()
- set acd
- new
- w samples/Xtest
- call assert_equal("Xtest", expand('%'))
- call assert_equal("samples", substitute(getcwd(), '.*/\(\k*\)', '\1', ''))
- bwipe!
- set noacd
- call delete('samples/Xtest')
-endfunc