fix testcase

This commit is contained in:
paihu
2018-10-22 22:59:06 +09:00
parent 0261dd2f51
commit 2ea83939a5
20 changed files with 72 additions and 72 deletions

View File

@@ -7,7 +7,7 @@ After:
Execute(The staticcheck callback should return the right defaults):
AssertLinter 'staticcheck',
\ 'cd ' . ale#Escape(expand('%:p:h')) . ' && '
\ ale#path#CdString(ale#Escape(expand('%:p:h')))
\ . 'staticcheck '
\ . ale#Escape(expand('%' . ':t'))
@@ -15,7 +15,7 @@ Execute(The staticcheck callback should use configured options):
let b:ale_go_staticcheck_options = '-test'
AssertLinter 'staticcheck',
\ 'cd ' . ale#Escape(expand('%:p:h')) . ' && '
\ ale#path#CdString(ale#Escape(expand('%:p:h')))
\ . 'staticcheck '
\ . '-test ' . ale#Escape(expand('%' . ':t'))
@@ -23,4 +23,4 @@ Execute(The staticcheck `lint_package` option should use the correct command):
let b:ale_go_staticcheck_lint_package = 1
AssertLinter 'staticcheck',
\ 'cd ' . ale#Escape(expand('%:p:h')) . ' && staticcheck .',
\ ale#path#CdString(ale#Escape(expand('%:p:h'))) . 'staticcheck .',