From f4395f5b8cb0078536e6033ca9c86e7299ed3ba1 Mon Sep 17 00:00:00 2001 From: paihu Date: Tue, 23 Oct 2018 23:20:27 +0900 Subject: ale#path#CdString include ale#Escape --- test/command_callback/test_staticcheck_command_callback.vader | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/command_callback/test_staticcheck_command_callback.vader') diff --git a/test/command_callback/test_staticcheck_command_callback.vader b/test/command_callback/test_staticcheck_command_callback.vader index b15fe4d5..7f17b146 100644 --- a/test/command_callback/test_staticcheck_command_callback.vader +++ b/test/command_callback/test_staticcheck_command_callback.vader @@ -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 .', -- cgit v1.2.3