diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-06-20 22:47:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-20 22:47:56 +0100 |
commit | 11f303f8532863fb03e21e1b6f77b9ebcf7b0704 (patch) | |
tree | 469b21214fd5f530c72cd4b98d98dddf4eef93bb /test/handler/test_mix_handler.vader | |
parent | 0e1528ec34dbd025712f46a6e556b430c45c8173 (diff) | |
parent | b8be25adb408bffc7af9f2f92c8c5cc7a6813601 (diff) | |
download | ale-11f303f8532863fb03e21e1b6f77b9ebcf7b0704.zip |
Merge pull request #1618 from colbydehart/master
[new linter] Add mix linter for elixir
Diffstat (limited to 'test/handler/test_mix_handler.vader')
-rw-r--r-- | test/handler/test_mix_handler.vader | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/handler/test_mix_handler.vader b/test/handler/test_mix_handler.vader new file mode 100644 index 00000000..a5549b5d --- /dev/null +++ b/test/handler/test_mix_handler.vader @@ -0,0 +1,21 @@ +Before: + runtime ale_linters/elixir/mix.vim + +After: + call ale#linter#Reset() + +Execute(The mix handler should parse lines correctly): + + AssertEqual + \ [ + \ { + \ 'bufnr': 347, + \ 'lnum': 87, + \ 'col': 0, + \ 'text': 'undefined function update_in/4', + \ 'type': 'E', + \ }, + \ ], + \ ale_linters#elixir#mix#Handle(347, [ + \ '** (CompileError) apps/sim/lib/sim/server.ex:87: undefined function update_in/4' + \ ]) |