I broke up with neovim....vim is my best friend now
This commit is contained in:
17
dot_vim/plugged/vimtex/test/test-jobs/test-capture.vim
Normal file
17
dot_vim/plugged/vimtex/test/test-jobs/test-capture.vim
Normal file
@@ -0,0 +1,17 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
if vimtex#util#is_win() | quitall | endif
|
||||
|
||||
|
||||
let s:output = vimtex#jobs#capture("echo 'a\nb'")
|
||||
call assert_equal(['a', 'b'], s:output)
|
||||
|
||||
let s:output = vimtex#jobs#capture("echobaad foobar")
|
||||
call assert_match('not found', s:output[0])
|
||||
|
||||
|
||||
call vimtex#test#finished()
|
||||
Reference in New Issue
Block a user