test_scarb_handler.vader
1 Before: 2 runtime ale_linters/cairo/scarb.vim 3 4 After: 5 call ale#linter#Reset() 6 7 Execute(Check scarb output parsing): 8 AssertEqual 9 \ [ 10 \ { 11 \ 'lnum': 40, 12 \ 'col': 48, 13 \ 'text': 'Skipped tokens. Expected: Const/Module/Use/FreeFunction/ExternFunction/ExternType/Trait/Impl/Struct/Enum/TypeAlias/InlineMacro or an attribute.', 14 \ 'type': 'E', 15 \ }, 16 \ ], 17 \ ale#handlers#cairo#HandleCairoErrors(bufnr(''), [ 18 \ 'error: Skipped tokens. Expected: Const/Module/Use/FreeFunction/ExternFunction/ExternType/Trait/Impl/Struct/Enum/TypeAlias/InlineMacro or an attribute.', 19 \ ' --> /path/to/file.cairo:40:48', 20 \ ])