test_hurlfmt_handler.vader
1 Before: 2 runtime ale_linters/hurl/hurlfmt.vim 3 4 After: 5 call ale#linter#Reset() 6 7 Execute(The hurlfmt handler should parse lines correctly): 8 AssertEqual 9 \ [ 10 \ { 11 \ 'lnum': 11, 12 \ 'bufnr': 345, 13 \ 'col': 48, 14 \ 'end_col': 48, 15 \ 'text': 'Parsing space : expecting a space ', 16 \ 'type': 'E', 17 \ }, 18 \ ], 19 \ ale_linters#hurl#hurlfmt#HandleOutput(345, [ 20 \ 'error: Parsing space', 21 \ '--> test.hurl:11:48', 22 \ ' |', 23 \ '8 " | header "Content-Type"= "application/json; charset=utf-8"', 24 \ ' | ^ expecting a space', 25 \ ' |', 26 \ ]) 27 28 Execute(The rubocop handler should handle empty output): 29 AssertEqual [], ale_linters#hurl#hurlfmt#HandleOutput(347, [])