summaryrefslogtreecommitdiff
path: root/test/command_callback/test_gometalinter_command_callback.vader
diff options
context:
space:
mode:
authorpaihu <paihu@users.noreply.github.com>2018-10-23 23:20:27 +0900
committerpaihu <paihu@users.noreply.github.com>2018-10-23 23:20:27 +0900
commitf4395f5b8cb0078536e6033ca9c86e7299ed3ba1 (patch)
treeadf339bfb31497d16203507cc404e58fcd5048ed /test/command_callback/test_gometalinter_command_callback.vader
parentbc3ccd6e042fb623e6a34d5184839aa1f1518f32 (diff)
downloadale-f4395f5b8cb0078536e6033ca9c86e7299ed3ba1.zip
ale#path#CdString include ale#Escape
Diffstat (limited to 'test/command_callback/test_gometalinter_command_callback.vader')
-rw-r--r--test/command_callback/test_gometalinter_command_callback.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/command_callback/test_gometalinter_command_callback.vader b/test/command_callback/test_gometalinter_command_callback.vader
index 738cc78d..88e86801 100644
--- a/test/command_callback/test_gometalinter_command_callback.vader
+++ b/test/command_callback/test_gometalinter_command_callback.vader
@@ -7,7 +7,7 @@ After:
Execute(The gometalinter defaults should be correct):
AssertLinter 'gometalinter',
- \ ale#path#CdString(ale#Escape(expand('%:p:h')))
+ \ ale#path#CdString(expand('%:p:h'))
\ . ale#Escape('gometalinter')
\ . ' --include=' . ale#Escape(ale#util#EscapePCRE(expand('%' . ':t')))
\ . ' .'
@@ -16,7 +16,7 @@ Execute(The gometalinter callback should use a configured executable):
let b:ale_go_gometalinter_executable = 'something else'
AssertLinter 'something else',
- \ ale#path#CdString(ale#Escape(expand('%:p:h')))
+ \ ale#path#CdString(expand('%:p:h'))
\ . ale#Escape('something else')
\ . ' --include=' . ale#Escape(ale#util#EscapePCRE(expand('%' . ':t')))
\ . ' .'
@@ -25,7 +25,7 @@ Execute(The gometalinter callback should use configured options):
let b:ale_go_gometalinter_options = '--foobar'
AssertLinter 'gometalinter',
- \ ale#path#CdString(ale#Escape(expand('%:p:h')))
+ \ ale#path#CdString(expand('%:p:h'))
\ . ale#Escape('gometalinter')
\ . ' --include=' . ale#Escape(ale#util#EscapePCRE(expand('%' . ':t')))
\ . ' --foobar' . ' .'
@@ -34,5 +34,5 @@ Execute(The gometalinter `lint_package` option should use the correct command):
let b:ale_go_gometalinter_lint_package = 1
AssertLinter 'gometalinter',
- \ ale#path#CdString(ale#Escape(expand('%:p:h')))
+ \ ale#path#CdString(expand('%:p:h'))
\ . ale#Escape('gometalinter') . ' .'