handled temp file and env variable correctly; added tests

This commit is contained in:
Colby Dehart
2018-06-02 13:03:56 -04:00
parent d760558007
commit 81739be0a0
2 changed files with 35 additions and 4 deletions

View File

@@ -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'
\ ])