From: Andreas Louv Date: Mon, 3 Apr 2023 00:34:15 +0000 (+0200) Subject: Add test for ":LspDiagLast" X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=478f28d918924c78fca417962829d373cea79fdd;p=vim-lsp.git Add test for ":LspDiagLast" --- diff --git a/test/clangd_tests.vim b/test/clangd_tests.vim index 424ec7a..aaa12a5 100644 --- a/test/clangd_tests.vim +++ b/test/clangd_tests.vim @@ -385,6 +385,9 @@ def g:Test_LspDiag_Multi() assert_equal([1, 5], [line('.'), col('.')]) assert_equal('', execute('LspDiagNext')) assert_equal([1, 9], [line('.'), col('.')]) + cursor(1, 1) + assert_equal('', execute('LspDiagLast')) + assert_equal([2, 9], [line('.'), col('.')]) popup_clear() # Test for :LspDiagHere on a line with multiple diagnostics