ale/test/handler/test_asm_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

26 lines
674 B
Plaintext

Before:
runtime ale_linters/asm/gcc.vim
After:
call ale#linter#Reset()
Execute(The asm GCC handler should parse lines from GCC 6.3.1 correctly):
AssertEqual
\ [
\ {
\ 'lnum': 38,
\ 'text': "too many memory references for `mov'",
\ 'type': 'E',
\ },
\ {
\ 'lnum': 42,
\ 'text': "incorrect register `%ax' used with `l' suffix",
\ 'type': 'E',
\ },
\ ],
\ ale_linters#asm#gcc#Handle(357, [
\ "{standard input}: Assembler messages:",
\ "{standard_input}:38: Error: too many memory references for `mov'",
\ "{standard input}:42: Error: incorrect register `%ax' used with `l' suffix",
\ ])