Skip to content

Commit

Permalink
fix: adjust test
Browse files Browse the repository at this point in the history
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
  • Loading branch information
Shane-XB-Qian committed Aug 31, 2024
1 parent 736c83d commit a574fd9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/clangd_tests.vim
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,11 @@ def g:Test_LspSelection()
assert_equal([4, 30, 6, 5], [line("'<"), col("'<"), line("'>"), col("'>")])
cursor(5, 8)
normal vlelelelelelsy
assert_equal([4, 5, 6, 5], [line("'<"), col("'<"), line("'>"), col("'>")])
if clangdVerMajor > 14
assert_equal([4, 5, 6, 5], [line("'<"), col("'<"), line("'>"), col("'>")])
else
assert_equal([4, 30, 6, 5], [line("'<"), col("'<"), line("'>"), col("'>")])
endif
cursor(5, 8)
normal vlelelelelelelsy
assert_equal([2, 1, 8, 1], [line("'<"), col("'<"), line("'>"), col("'>")])
Expand Down

0 comments on commit a574fd9

Please sign in to comment.