Try to fix a test which is failing on Windows
This commit is contained in:
parent
ad7ffe2875
commit
540952ca8e
@ -3,10 +3,14 @@ Before:
|
|||||||
|
|
||||||
unlet! g:ale_cs_mcsc_source
|
unlet! g:ale_cs_mcsc_source
|
||||||
|
|
||||||
|
call ale#test#SetDirectory('/testplugin/test/handler')
|
||||||
|
|
||||||
runtime ale_linters/cs/mcsc.vim
|
runtime ale_linters/cs/mcsc.vim
|
||||||
|
|
||||||
After:
|
After:
|
||||||
unlet! g:ale_cs_mcsc_source
|
unlet! g:ale_cs_mcsc_source
|
||||||
|
|
||||||
|
call ale#test#RestoreDirectory()
|
||||||
call ale#linter#Reset()
|
call ale#linter#Reset()
|
||||||
|
|
||||||
Execute(The mcs handler should work with the default of the buffer's directory):
|
Execute(The mcs handler should work with the default of the buffer's directory):
|
||||||
@ -18,7 +22,7 @@ Execute(The mcs handler should work with the default of the buffer's directory):
|
|||||||
\ 'text': '; expected',
|
\ 'text': '; expected',
|
||||||
\ 'code': 'CS1001',
|
\ 'code': 'CS1001',
|
||||||
\ 'type': 'E',
|
\ 'type': 'E',
|
||||||
\ 'filename': ale#path#Simplify(expand('%:p:h') . '/Test.cs'),
|
\ 'filename': ale#path#Simplify(g:dir . '/Test.cs'),
|
||||||
\ },
|
\ },
|
||||||
\ ],
|
\ ],
|
||||||
\ ale_linters#cs#mcsc#Handle(347, [
|
\ ale_linters#cs#mcsc#Handle(347, [
|
||||||
|
Loading…
Reference in New Issue
Block a user