aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/api.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-09-06 06:21:38 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-09-06 06:28:23 +0800
commit0909843647e508681cbfd53ee7ddc9b2422f136d (patch)
treec283d98bf972b72958058919c9a8ee93cda341e3 /runtime/lua/vim/_meta/api.lua
parent3e5a7f258a94bb753df57d4ea6c3b56a70906a22 (diff)
downloadrneovim-0909843647e508681cbfd53ee7ddc9b2422f136d.tar.gz
rneovim-0909843647e508681cbfd53ee7ddc9b2422f136d.tar.bz2
rneovim-0909843647e508681cbfd53ee7ddc9b2422f136d.zip
vim-patch:9.0.1874: CI may fail in test_recover_empty_swap
Problem: CI may fail in test_recover_empty_swap Solution: Set directory option Fix failing Test_recover_empty_swap test :recover by default not only looks in the current directory, but also in ~/tmp for files to recover. If it finds some files to recover, it will interactively prompt for a file to recover. However, prompting doesn't work when running the test suite (and even if it would, there is no one that can answer the prompt). So it doesn't really make sense during testing, to inspect different directories for swap files and prompt and wait (which will lead to a timeout and therefore a failing test). So set the 'directory' option temporarily to the current directory only and reset it back once the test finishes. closes: vim/vim#13038 https://github.com/vim/vim/commit/1c7397f3f1e168541f88bb1bbd93a9f0b1235852 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
0 files changed, 0 insertions, 0 deletions