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_govet_command_callback.vader | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/command_callback/test_govet_command_callback.vader') diff --git a/test/command_callback/test_govet_command_callback.vader b/test/command_callback/test_govet_command_callback.vader index d9b349ad..a55c0812 100644 --- a/test/command_callback/test_govet_command_callback.vader +++ b/test/command_callback/test_govet_command_callback.vader @@ -8,12 +8,12 @@ After: call ale#assert#TearDownLinterTest() Execute(The default command should be correct): - AssertLinter 'go', ale#path#CdString(ale#Escape(expand('%:p:h'))) . ' go vet .' + AssertLinter 'go', ale#path#CdString(expand('%:p:h')) . ' go vet .' Execute(Extra options should be supported): let g:ale_go_govet_options = '--foo-bar' - AssertLinter 'go', ale#path#CdString(ale#Escape(expand('%:p:h'))) . ' go vet --foo-bar .' + AssertLinter 'go', ale#path#CdString(expand('%:p:h')) . ' go vet --foo-bar .' Execute(The executable should be configurable): let g:ale_go_go_executable = 'foobar' - AssertLinter 'foobar', ale#path#CdString(ale#Escape(expand('%:p:h'))) . ' foobar vet .' + AssertLinter 'foobar', ale#path#CdString(expand('%:p:h')) . ' foobar vet .' -- cgit v1.2.3