aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-01-25 23:03:43 +0800
committerGitHub <noreply@github.com>2025-01-25 23:03:43 +0800
commitd4a65dad23b910ad0e5f44cc1720e8bd82bd749b (patch)
treee225cd5f24e98d223b45d56a3ad059edbf7d548b /runtime/lua/vim
parentfb1740521aad48ba7ebd797042d869e3d649b91a (diff)
downloadrneovim-d4a65dad23b910ad0e5f44cc1720e8bd82bd749b.tar.gz
rneovim-d4a65dad23b910ad0e5f44cc1720e8bd82bd749b.tar.bz2
rneovim-d4a65dad23b910ad0e5f44cc1720e8bd82bd749b.zip
vim-patch:9.1.1052: tests: off-by-one error in CheckCWD in test_debugger.vim (#32202)
Problem: tests: off-by-one error in CheckCWD in test_debugger.vim Solution: Fix off-by-one in CheckCWD leading to local tests failure (Yee Cheng Chin) Vim's test_debugger's Test_debug_backtrace_level test will fail if you happen to run it in a Vim repository with full path of directory being exactly 29 characters (e.g. `/Users/bob/developing/src/vim`). The test does term dump comparison and the printout will overflow if the CWD is too long. It does have a function to skip to test if it detects that but it's off by one leading to this one situation where it will fail. The reason why the logic didn't account for this is that Vim's message printing will overflow the text if it prints a message at exactly the width of the terminal. This could be considered a bug / quirk but that will be another issue. closes: vim/vim#16517 https://github.com/vim/vim/commit/3acfbb4b548f4b1659ff1368a1b626cdd263acbe Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
Diffstat (limited to 'runtime/lua/vim')
0 files changed, 0 insertions, 0 deletions