diff options
author | w0rp <devw0rp@gmail.com> | 2017-10-24 22:45:30 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-10-24 22:45:30 +0100 |
commit | 1a5ef969a528c037b865828dedcd482a51d0e004 (patch) | |
tree | ccc0ce9f1537df3bbf36a38463a8b84d1aeb3c4d /test | |
parent | 1c56bebd7ca44d43badc9a63dd7dc4d88fd1b8b9 (diff) | |
parent | d644dc797f74e446c3301292107ffaf6ed9a6121 (diff) | |
download | ale-1a5ef969a528c037b865828dedcd482a51d0e004.zip |
Merge branch 'aurieh-master'
Diffstat (limited to 'test')
-rw-r--r-- | test/handler/test_checkmake_handler.vader | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/handler/test_checkmake_handler.vader b/test/handler/test_checkmake_handler.vader new file mode 100644 index 00000000..61fe141a --- /dev/null +++ b/test/handler/test_checkmake_handler.vader @@ -0,0 +1,19 @@ +Execute(Parsing checkmake errors should work): + runtime ale_linters/make/checkmake.vim + silent file Makefile + + AssertEqual + \ [ + \ { + \ 'bufnr': 42, + \ 'lnum': 1, + \ 'type': 'E', + \ 'text': 'woops: an error has occurred', + \ } + \ ], + \ ale_linters#make#checkmake#Handle(42, [ + \ 'This shouldnt match', + \ '1:woops:an error has occurred', + \ ]) +After: + call ale#linter#Reset() |