ale/test/handler/test_llvm_mc_handler.vader
w0rp ae1d051504
#4454 Clean up more tests and code
* Remove some tests we no longer need
* Delete blocks of redundant code
* Compress some tests together to simplify them
* Remove a little code for ancient linter versions
* Escape more executables we didn't escape before
* Rename a deno option that didn't match our conventions
2023-09-16 22:23:30 +01:00

28 lines
665 B
Plaintext

Before:
runtime ale_linters/asm/llvm_mc.vim
After:
call ale#linter#Reset()
Execute(The asm llvm-mc handler should parse lines correctly):
AssertEqual
\ [
\ {
\ 'lnum': 10,
\ 'col' : 15,
\ 'text': "invalid operand for instruction",
\ 'type': 'E',
\ },
\ {
\ 'lnum': 11,
\ 'col' : 2,
\ 'text': "invalid instruction mnemonic 'lpaq'",
\ 'type': 'E',
\ },
\ ],
\ ale_linters#asm#llvm_mc#Handle(357, [
\ "xorq %rbp, %rbp",
\ "{standard_input}:10:15: error: invalid operand for instruction",
\ "{standard input}:11:2: error: invalid instruction mnemonic 'lpaq'",
\ ])