1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 03:00:04 +08:00
SpaceVim/bundle/ChineseLinter.vim/test/clear.vader

13 lines
309 B
Plaintext
Raw Normal View History

Given markdown:
你好,中文
Execute (test clear errors):
CheckChinese
AssertEqual getqflist()[0].lnum, 1
AssertEqual getqflist()[0].col, 7
AssertEqual getqflist()[0].text[:3], 'E001'
wincmd p
call setline(1, '你好,中文')
CheckChinese
AssertEqual len(getqflist()), 0