Updated latexmain test
This commit is contained in:
parent
11f60f5084
commit
63ba4f3b3f
@ -1,12 +1,9 @@
|
||||
Execute (Setup):
|
||||
Execute (Assert b:vimtex.tex = latexmain.tex):
|
||||
let g:tex_flavor = 'latex'
|
||||
call system('touch main.tex')
|
||||
call system('touch main.tex.latexmain')
|
||||
|
||||
Execute (Assert root = main.tex):
|
||||
call system('touch latexmain.tex')
|
||||
call system('touch latexmain.tex.latexmain')
|
||||
new test.tex
|
||||
AssertEqual 'main.tex', fnamemodify(b:vimtex.tex, ':t')
|
||||
|
||||
Execute (Cleanup):
|
||||
call system('rm main.tex*')
|
||||
AssertEqual 'latexmain.tex', fnamemodify(b:vimtex.tex, ':t')
|
||||
bdelete!
|
||||
call system('rm latexmain.tex*')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user