mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-10 06:21:53 +08:00
#3633 - Move linter tests into test/linter
This commit is contained in:
13
test/linter/test_ruby.vader
Normal file
13
test/linter/test_ruby.vader
Normal file
@@ -0,0 +1,13 @@
|
||||
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 -T1 %t'
|
||||
|
||||
Execute(The executable should be configurable):
|
||||
let g:ale_ruby_ruby_executable = 'foobar'
|
||||
|
||||
AssertLinter 'foobar', ale#Escape('foobar') . ' -w -c -T1 %t'
|
||||
Reference in New Issue
Block a user