vim-patch:8.1.1467: cscope test fails

Problem:    Cscope test fails.
Solution:   Update expected text.
d6ec1730ba
This commit is contained in:
Jan Edmund Lazo
2019-08-05 22:41:02 -04:00
parent ce7bcdec23
commit 11a6dac8c9

View File

@@ -123,8 +123,8 @@ func Test_cscopeWithCscopeConnections()
if cs_version >= 15.8 if cs_version >= 15.8
for cmd in ['cs find a item', 'cs find 9 item'] for cmd in ['cs find a item', 'cs find 9 item']
let a = execute(cmd) let a = execute(cmd)
call assert_equal(['', '(1 of 4): <<test_mf_hash>> item = (mf_hashitem_T *)lalloc_clear(sizeof(mf_hashtab_T), FALSE);'], split(a, '\n', 1)) call assert_equal(['', '(1 of 4): <<test_mf_hash>> item = (mf_hashitem_T *)lalloc_clear(sizeof(*item), FALSE);'], split(a, '\n', 1))
call assert_equal(' item = (mf_hashitem_T *)lalloc_clear(sizeof(mf_hashtab_T), FALSE);', getline('.')) call assert_equal(' item = (mf_hashitem_T *)lalloc_clear(sizeof(*item), FALSE);', getline('.'))
cnext cnext
call assert_equal(' item = mf_hash_find(&ht, key);', getline('.')) call assert_equal(' item = mf_hash_find(&ht, key);', getline('.'))
cnext cnext