From: shane.xb.qian Date: Wed, 15 Mar 2023 00:05:00 +0000 (+0800) Subject: fix: should be better using assert_match for popup title string comparison X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a90c83873da214a79d98c3c987220df3492791a0;p=vim-lsp.git fix: should be better using assert_match for popup title string comparison Signed-off-by: shane.xb.qian --- diff --git a/test/unit_tests.vim b/test/unit_tests.vim index d3d0d45..6971783 100644 --- a/test/unit_tests.vim +++ b/test/unit_tests.vim @@ -241,7 +241,7 @@ def Test_LspShowReferences() var filePopupAttrs = ids[0]->popup_getoptions() var refPopupAttrs = ids[1]->popup_getoptions() assert_match('Xtest', filePopupAttrs.title) - assert_equal('References', refPopupAttrs.title) + assert_match('References', refPopupAttrs.title) assert_equal(10, line('.', ids[0])) assert_equal(3, line('$', ids[1])) feedkeys("jj\", 'xt')