From 1efd6b4961a3dc5b5583aa1e81c4934bcaae2484 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Sat, 22 Jan 2022 09:12:59 -0800 Subject: [PATCH] Fix test failure --- test/unit_tests.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)) -- 2.48.1