1
0
Fork 0
mirror of synced 2024-07-02 05:21:09 -04:00
ultimate-vim/sources_non_forked/ale/test/handler/test_perlcritic_handler.vader

21 lines
437 B
Plaintext
Raw Normal View History

2022-05-19 09:16:38 -04:00
Before:
runtime ale_linters/perl/perlcritic.vim
After:
call ale#linter#Reset()
Execute(The Perl::Critic handler should create all issues as warnings):
AssertEqual
\ [
\ {
\ 'lnum': '21',
\ 'col': '17',
\ 'text': 'Regular expression without "/m" flag',
\ 'type': 'W',
\ }
\ ],
\ ale_linters#perl#perlcritic#Handle(99, [
\ '21:17 Regular expression without "/m" flag'
\ ])