summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_ispc_ispc_command_callbacks.vader13
1 files changed, 3 insertions, 10 deletions
diff --git a/test/command_callback/test_ispc_ispc_command_callbacks.vader b/test/command_callback/test_ispc_ispc_command_callbacks.vader
index e5a0dec2..012cdee2 100644
--- a/test/command_callback/test_ispc_ispc_command_callbacks.vader
+++ b/test/command_callback/test_ispc_ispc_command_callbacks.vader
@@ -6,22 +6,15 @@ After:
Execute(The executable should be configurable):
AssertLinter 'ispc',
- \ ale#Escape('ispc')
- \ . ' -I ' . ale#Escape(getcwd())
- \ . ' -'
+ \ ale#Escape('ispc') . ' %s'
let b:ale_ispc_ispc_executable = 'foo'
AssertLinter 'foo',
- \ ale#Escape('foo')
- \ . ' -I ' . ale#Escape(getcwd())
- \ . ' -'
+ \ ale#Escape('foo') . ' %s'
Execute(The options should be configurable):
let g:ale_ispc_ispc_options = '--foo'
AssertLinter 'ispc',
- \ ale#Escape('ispc')
- \ . ' -I ' . ale#Escape(getcwd())
- \ . ' --foo'
- \ . ' -'
+ \ ale#Escape('ispc') . ' --foo' . ' %s'