ale#path#CdString include ale#Escape

This commit is contained in:
paihu
2018-10-23 23:20:27 +09:00
parent bc3ccd6e04
commit f4395f5b8c
20 changed files with 67 additions and 67 deletions

View File

@@ -7,7 +7,7 @@ After:
Execute(The staticcheck callback should return the right defaults):
AssertLinter 'staticcheck',
\ ale#path#CdString(ale#Escape(expand('%:p:h')))
\ ale#path#CdString(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',
\ ale#path#CdString(ale#Escape(expand('%:p:h')))
\ ale#path#CdString(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',
\ ale#path#CdString(ale#Escape(expand('%:p:h'))) . 'staticcheck .',
\ ale#path#CdString(expand('%:p:h')) . 'staticcheck .',