e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
27 lines
643 B
Text
27 lines
643 B
Text
Before:
|
|
runtime ale_linters/ruby/debride.vim
|
|
|
|
After:
|
|
call ale#linter#Reset()
|
|
|
|
Execute(The debride linter parses output correctly):
|
|
AssertEqual
|
|
\ [
|
|
\ {
|
|
\ 'lnum': 2,
|
|
\ 'text': 'Possible unused method: image_tags',
|
|
\ 'type': 'W',
|
|
\ },
|
|
\ {
|
|
\ 'lnum': 7,
|
|
\ 'text': 'Possible unused method: not_deleted',
|
|
\ 'type': 'W',
|
|
\ }
|
|
\ ],
|
|
\ ale_linters#ruby#debride#HandleOutput(0, [
|
|
\ 'These methods MIGHT not be called:',
|
|
\ '',
|
|
\ 'Image',
|
|
\ ' image_tags app/models/image.rb:2',
|
|
\ ' not_deleted app/models/image.rb:7'
|
|
\])
|