Mercurial > vim
view src/testdir/test_autochdir.vim @ 13602:33a2dec07a0f v8.0.1673
patch 8.0.1673: terminal window tests are still a bit flaky
commit https://github.com/vim/vim/commit/4791015e6f0adf7f3a0a6a59884c4092ca3c19ef
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 7 19:27:16 2018 +0200
patch 8.0.1673: terminal window tests are still a bit flaky
Problem: Terminal window tests are still a bit flaky.
Solution: Increase the waiting time even more. (Elimar Riesebieter)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 07 Apr 2018 19:30:06 +0200 |
parents | 03a6aeea2096 |
children | 90ab2d3ce11d |
line wrap: on
line source
" Test 'autochdir' behavior if !exists("+autochdir") finish endif func Test_set_filename() let cwd = getcwd() 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 exe 'cd ' . cwd call delete('samples/Xtest') endfunc