]> git.madduck.net Git - etc/vim.git/blob - test/handler/test_nasm_handler.vader

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Squashed '.vim/bundle/ale/' content from commit 22185c4c
[etc/vim.git] / test / handler / test_nasm_handler.vader
1 Before:
2   runtime ale_linters/nasm/nasm.vim
3
4 After:
5   call ale#linter#Reset()
6
7 Execute(The nasm handler should parse GCC style output from nasm correctly):
8   AssertEqual
9   \ [
10   \   {
11   \     'lnum': 2,
12   \     'text': "label alone on a line without a colon might be in error",
13   \     'type': 'W',
14   \   },
15   \   {
16   \     'lnum': 4,
17   \     'text': "invalid combination of opcode and operands",
18   \     'type': 'E',
19   \   },
20   \   {
21   \     'lnum': 7,
22   \     'text': "unable to open include file `bar.asm'",
23   \     'type': 'E',
24   \   },
25   \ ],
26   \ ale_linters#nasm#nasm#Handle(bufnr(''), [
27   \   "tmp.asm:2: warning: label alone on a line without a colon might be in error",
28   \   "tmp.asm:4: error: invalid combination of opcode and operands",
29   \   "tmp.asm:7: fatal: unable to open include file `bar.asm'"
30   \ ])