Fixed tests

This commit is contained in:
Khaveesh N 2020-08-21 17:29:43 +05:30
parent 4bece27bd4
commit 76801743cf
No known key found for this signature in database
GPG key ID: CB82DEC6404CD52E

View file

@ -18,10 +18,8 @@ Execute(The latexindent callback should return the correct default values):
AssertEqual AssertEqual
\ { \ {
\ 'read_temporary_file': 1,
\ 'command': ale#Escape('xxxinvalid') \ 'command': ale#Escape('xxxinvalid')
\ . ' -l -w' \ . ' -l'
\ . ' %t',
\ }, \ },
\ ale#fixers#latexindent#Fix(bufnr('')) \ ale#fixers#latexindent#Fix(bufnr(''))
@ -31,10 +29,8 @@ Execute(The latexindent callback should include custom gofmt options):
AssertEqual AssertEqual
\ { \ {
\ 'read_temporary_file': 1,
\ 'command': ale#Escape('xxxinvalid') \ 'command': ale#Escape('xxxinvalid')
\ . ' -l -w' \ . ' -l'
\ . ' ' . g:ale_tex_latexindent_options \ . ' ' . g:ale_tex_latexindent_options
\ . ' %t',
\ }, \ },
\ ale#fixers#latexindent#Fix(bufnr('')) \ ale#fixers#latexindent#Fix(bufnr(''))