aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-13 08:57:55 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-11-13 08:58:48 +0800
commit5c69f8569ad2013b1d97afd2fbefd6bda8e8379f (patch)
tree9b31c30bc51f9bb1fd487afebb9a978fa7000d65
parent1fd0ded08029c575ac4887e513732c50eaf05be2 (diff)
downloadrneovim-5c69f8569ad2013b1d97afd2fbefd6bda8e8379f.tar.gz
rneovim-5c69f8569ad2013b1d97afd2fbefd6bda8e8379f.tar.bz2
rneovim-5c69f8569ad2013b1d97afd2fbefd6bda8e8379f.zip
vim-patch:9.0.0137: debugger test may fail when $CWD is very long
Problem: Debugger test may fail when $CWD is very long. Solution: Skip the test if the directory name is too long. (James McCoy, closes vim/vim#10837) https://github.com/vim/vim/commit/db7a88db8b52508d3df6d5947f7c4f3ef05d5f62 Co-authored-by: James McCoy <jamessan@jamessan.com>
-rw-r--r--test/old/testdir/test_debugger.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/old/testdir/test_debugger.vim b/test/old/testdir/test_debugger.vim
index 7ac45a0bd4..f6b186d090 100644
--- a/test/old/testdir/test_debugger.vim
+++ b/test/old/testdir/test_debugger.vim
@@ -366,6 +366,8 @@ endfunc
" Test for expression breakpoint set using ":breakadd expr <expr>"
func Test_Debugger_breakadd_expr()
CheckRunVimInTerminal
+ CheckCWD
+
let lines =<< trim END
let g:Xtest_var += 1
END