From 95ba7898b45c3cbac77463aace447ead4e173556 Mon Sep 17 00:00:00 2001 From: Andrew Hayworth Date: Fri, 22 Oct 2021 00:20:00 -0500 Subject: Re-apply #3538 - remove -T argument from ruby linter (#3951) 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 9fe7b1fe6a23fb55e6d782293585d58193123f59, it was accidentally and entirely undone. This commit is essentially identical to #3538, aside from a path change for the tests. --- test/linter/test_ruby.vader | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/linter/test_ruby.vader b/test/linter/test_ruby.vader index b6bac14f..d957079d 100644 --- a/test/linter/test_ruby.vader +++ b/test/linter/test_ruby.vader @@ -5,9 +5,9 @@ After: call ale#assert#TearDownLinterTest() Execute(The default command should be correct): - AssertLinter 'ruby', ale#Escape('ruby') . ' -w -c -T1 %t' + 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 -T1 %t' + AssertLinter 'foobar', ale#Escape('foobar') . ' -w -c %t' -- cgit v1.2.3