test_typecheck_handler.vader
1 Before: 2 runtime ale_linters/typescript/typecheck.vim 3 4 After: 5 call ale#linter#Reset() 6 7 Execute(The typecheck handler should parse lines correctly): 8 AssertEqual 9 \ [ 10 \ { 11 \ 'lnum': 16, 12 \ 'col': 7, 13 \ 'text': "Type 'A' is not assignable to type 'B'", 14 \ }, 15 \ { 16 \ 'lnum': 7, 17 \ 'col': 41, 18 \ 'text': "Property 'a' does not exist on type 'A'", 19 \ }, 20 \ ], 21 \ ale_linters#typescript#typecheck#Handle(347, [ 22 \ "somets.ts[16, 7]: Type 'A' is not assignable to type 'B'", 23 \ "somets.ts[7, 41]: Property 'a' does not exist on type 'A'", 24 \ ])