aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-03-15 18:53:33 +0800
committerGitHub <noreply@github.com>2025-03-15 10:53:33 +0000
commit98c1355e2f2236bcbad7f8f513d3c11237040293 (patch)
tree1ece18357acbf09c0f593e5b375a68f3b058ecfc
parent85d125cac4a28737bc1c244977887e0fec0aece1 (diff)
downloadrneovim-98c1355e2f2236bcbad7f8f513d3c11237040293.tar.gz
rneovim-98c1355e2f2236bcbad7f8f513d3c11237040293.tar.bz2
rneovim-98c1355e2f2236bcbad7f8f513d3c11237040293.zip
test(old): fix test_tabline failure (#32907)
Also fix tests after test_sha256 in test_alot.vim being skipped.
-rw-r--r--test/old/testdir/test_sha256.vim2
-rw-r--r--test/old/testdir/test_tabline.vim4
2 files changed, 5 insertions, 1 deletions
diff --git a/test/old/testdir/test_sha256.vim b/test/old/testdir/test_sha256.vim
index f6f430b04e..b0941c60e3 100644
--- a/test/old/testdir/test_sha256.vim
+++ b/test/old/testdir/test_sha256.vim
@@ -1,7 +1,7 @@
" Tests for the sha256() function.
source check.vim
-CheckFeature cryptv
+" CheckFeature cryptv
CheckFunction sha256
function Test_sha256()
diff --git a/test/old/testdir/test_tabline.vim b/test/old/testdir/test_tabline.vim
index d423f8a22c..4de6f845cb 100644
--- a/test/old/testdir/test_tabline.vim
+++ b/test/old/testdir/test_tabline.vim
@@ -210,6 +210,9 @@ endfunc
" Test 'tabline' with truncated double-width label at the start.
func Test_tabline_truncated_double_width()
+ let save_TabLine = nvim_get_hl(0, #{name: 'TabLine'})
+ " Nvim: avoid combining TabLine with TabLineFill in custom tabline
+ hi TabLine cterm=underline,nocombine gui=underline,nocombine
tabnew
redraw
call assert_match('X$', Screenline(1))
@@ -226,6 +229,7 @@ func Test_tabline_truncated_double_width()
bw!
set tabline=
+ call nvim_set_hl(0, 'TabLine', save_TabLine)
endfunc
" vim: shiftwidth=2 sts=2 expandtab