vimtex/test/vader/latexmain.vader
2016-04-10 23:13:20 +02:00

10 lines
285 B
Plaintext

Execute (Assert b:vimtex.tex = latexmain.tex):
let g:tex_flavor = 'latex'
call system('touch latexmain.tex')
call system('touch latexmain.tex.latexmain')
new test.tex
AssertEqual 'latexmain.tex', fnamemodify(b:vimtex.tex, ':t')
bdelete!
call system('rm latexmain.tex*')