diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-13 05:44:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 05:44:30 +0800 |
commit | 74e23b3b2ad91d4308c409b4f7419a1d3955a5bb (patch) | |
tree | 47951839aec3f600e46b9cbce6a5d46bee0f0b39 /test/old/testdir | |
parent | 4f8941c1a5f1ef6caa410feeb52e343db22763ce (diff) | |
download | rneovim-74e23b3b2ad91d4308c409b4f7419a1d3955a5bb.tar.gz rneovim-74e23b3b2ad91d4308c409b4f7419a1d3955a5bb.tar.bz2 rneovim-74e23b3b2ad91d4308c409b4f7419a1d3955a5bb.zip |
vim-patch:2dd613f57bf1 (#26009)
runtime(termdebug): improve the breakpoint sign label (vim/vim#13525)
// related vim/vim#12589
// that should be the last chat (I) with Bram, r.i.p
https://github.com/vim/vim/commit/2dd613f57bf17eb8ff050bcb5510eb0279f5c9ab
Co-authored-by: Shane-XB-Qian <shane.qian@foxmail.com>
Diffstat (limited to 'test/old/testdir')
-rw-r--r-- | test/old/testdir/test_termdebug.vim | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/old/testdir/test_termdebug.vim b/test/old/testdir/test_termdebug.vim index dca514db6e..98a4bd3215 100644 --- a/test/old/testdir/test_termdebug.vim +++ b/test/old/testdir/test_termdebug.vim @@ -81,6 +81,32 @@ func Test_termdebug_basic() \ 'priority': 110, 'group': 'TermDebug'}], \ sign_getplaced('', #{group: 'TermDebug'})[0].signs)}) Continue + call Nterm_wait(gdb_buf) + + let i = 2 + while i <= 258 + Break + call Nterm_wait(gdb_buf) + if i == 2 + call WaitForAssert({-> assert_equal(sign_getdefined('debugBreakpoint2.0')[0].text, '02')}) + endif + if i == 10 + call WaitForAssert({-> assert_equal(sign_getdefined('debugBreakpoint10.0')[0].text, '0A')}) + endif + if i == 168 + call WaitForAssert({-> assert_equal(sign_getdefined('debugBreakpoint168.0')[0].text, 'A8')}) + endif + if i == 255 + call WaitForAssert({-> assert_equal(sign_getdefined('debugBreakpoint255.0')[0].text, 'FF')}) + endif + if i == 256 + call WaitForAssert({-> assert_equal(sign_getdefined('debugBreakpoint256.0')[0].text, 'F+')}) + endif + if i == 258 + call WaitForAssert({-> assert_equal(sign_getdefined('debugBreakpoint258.0')[0].text, 'F+')}) + endif + let i += 1 + endwhile let cn = 0 " 60 is approx spaceBuffer * 3 |