From: Yegappan Lakshmanan Date: Sat, 22 Jan 2022 17:12:59 +0000 (-0800) Subject: Fix test failure X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=1efd6b4961a3dc5b5583aa1e81c4934bcaae2484;p=vim-lsp.git Fix test failure --- diff --git a/test/unit_tests.vim b/test/unit_tests.vim index bae8543..1378ef8 100644 --- a/test/unit_tests.vim +++ b/test/unit_tests.vim @@ -549,9 +549,9 @@ def Test_LspHighlight() cursor(1, 13) :LspHighlight :sleep 1 - assert_equal([{'id': 0, 'col': 13, 'end': 1, 'type': 'LspTextRef', 'length': 3, 'start': 1}], prop_list(1)) - assert_equal([{'id': 0, 'col': 11, 'end': 1, 'type': 'LspReadRef', 'length': 3, 'start': 1}], prop_list(3)) - assert_equal([{'id': 0, 'col': 3, 'end': 1, 'type': 'LspWriteRef', 'length': 3, 'start': 1}], prop_list(4)) + assert_equal([{'id': 0, 'col': 13, 'type_bufnr': 0, 'end': 1, 'type': 'LspTextRef', 'length': 3, 'start': 1}], prop_list(1)) + assert_equal([{'id': 0, 'col': 11, 'type_bufnr': 0, 'end': 1, 'type': 'LspReadRef', 'length': 3, 'start': 1}], prop_list(3)) + assert_equal([{'id': 0, 'col': 3, 'type_bufnr': 0, 'end': 1, 'type': 'LspWriteRef', 'length': 3, 'start': 1}], prop_list(4)) :LspHighlightClear :sleep 1 assert_equal([], prop_list(1))