mirror of
https://github.com/dense-analysis/ale
synced 2024-12-28 00:52:20 +00:00
95ba7898b4
The `-T` option (for "taint checking") was deprecated in ruby 2.7
and removed entirely in ruby 3.0. This causes the linter to fail
entirely for users of ruby 3.0.
This was reported in #3537, and then fixed in #3538 - but it seems as
though in 9fe7b1fe6a
, it was accidentally
and entirely undone.
This commit is essentially identical to #3538, aside from a path change
for the tests.
14 lines
364 B
Plaintext
14 lines
364 B
Plaintext
Before:
|
|
call ale#assert#SetUpLinterTest('ruby', 'ruby')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The default command should be correct):
|
|
AssertLinter 'ruby', ale#Escape('ruby') . ' -w -c %t'
|
|
|
|
Execute(The executable should be configurable):
|
|
let g:ale_ruby_ruby_executable = 'foobar'
|
|
|
|
AssertLinter 'foobar', ale#Escape('foobar') . ' -w -c %t'
|