fix test't
This commit is contained in:
parent
07ebfbeef0
commit
8a8879a28f
@ -3,7 +3,7 @@ Before:
|
|||||||
Save g:ale_typescript_tslint_config_path
|
Save g:ale_typescript_tslint_config_path
|
||||||
|
|
||||||
let g:ale_typescript_tslint_executable = 'xxxinvalid'
|
let g:ale_typescript_tslint_executable = 'xxxinvalid'
|
||||||
let g:ale_typescript_tslint_config_path = ''
|
let g:ale_typescript_tslint_config_path = 'tslint.json'
|
||||||
|
|
||||||
call ale#test#SetDirectory('/testplugin/test/fixers')
|
call ale#test#SetDirectory('/testplugin/test/fixers')
|
||||||
silent cd ..
|
silent cd ..
|
||||||
@ -22,7 +22,7 @@ Execute(The tslint callback should return the correct default values):
|
|||||||
\ {
|
\ {
|
||||||
\ 'read_temporary_file': 1,
|
\ 'read_temporary_file': 1,
|
||||||
\ 'command': ale#Escape(g:ale_typescript_tslint_executable)
|
\ 'command': ale#Escape(g:ale_typescript_tslint_executable)
|
||||||
\ . ' -c tslint.json'
|
\ . ' -c ' . ale#Escape('tslint.json')
|
||||||
\ . ' --fix %t',
|
\ . ' --fix %t',
|
||||||
\ },
|
\ },
|
||||||
\ ale#fixers#tslint#Fix(bufnr(''))
|
\ ale#fixers#tslint#Fix(bufnr(''))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user