summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-09-14 13:24:59 +0100
committerw0rp <devw0rp@gmail.com>2018-09-14 13:24:59 +0100
commit5c86ffd321ee42b2c59e8455710474e3c13d3e09 (patch)
tree8c6702aa0fe866f1e7d289f76f4b5bd806847f89 /test
parent9e09b7ca3559e2c14ed2401bb666b441b22dafff (diff)
downloadale-5c86ffd321ee42b2c59e8455710474e3c13d3e09.zip
Return only the unescaped executables from executable callbacks
Diffstat (limited to 'test')
-rw-r--r--test/command_callback/test_rubocop_command_callback.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command_callback/test_rubocop_command_callback.vader b/test/command_callback/test_rubocop_command_callback.vader
index b6f4590e..7f42a8c0 100644
--- a/test/command_callback/test_rubocop_command_callback.vader
+++ b/test/command_callback/test_rubocop_command_callback.vader
@@ -21,9 +21,9 @@ Execute(Should be able to set a custom executable):
\ . ale#Escape(ale#path#Simplify(g:dir . '/dummy.rb'))
Execute(Setting bundle appends 'exec rubocop'):
- let g:ale_ruby_rubocop_executable = 'bundle'
+ let g:ale_ruby_rubocop_executable = 'path to/bundle'
- AssertLinter 'bundle', ale#Escape('bundle')
+ AssertLinter 'path to/bundle', ale#Escape('path to/bundle')
\ . ' exec rubocop'
\ . ' --format json --force-exclusion --stdin '
\ . ale#Escape(ale#path#Simplify(g:dir . '/dummy.rb'))