diff options
author | Jasper Woudenberg <mail@jasperwoudenberg.com> | 2017-06-26 15:37:04 +0200 |
---|---|---|
committer | Jasper Woudenberg <mail@jasperwoudenberg.com> | 2017-06-27 20:16:29 +0200 |
commit | 72161b82ef29a7f6a1eb575533f61abd6ad13b53 (patch) | |
tree | baf6b45cdc82dc41e8d51d58b85c49cbcc71b8bd /test/handler/test_elmmake_handler.vader | |
parent | c2f69b77501d098fdd973c332d08e18d8e30abd0 (diff) | |
download | ale-72161b82ef29a7f6a1eb575533f61abd6ad13b53.zip |
Elm linter shows full error ranges
Diffstat (limited to 'test/handler/test_elmmake_handler.vader')
-rw-r--r-- | test/handler/test_elmmake_handler.vader | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/handler/test_elmmake_handler.vader b/test/handler/test_elmmake_handler.vader index 3f10a60d..cbd7ac9f 100644 --- a/test/handler/test_elmmake_handler.vader +++ b/test/handler/test_elmmake_handler.vader @@ -7,6 +7,8 @@ Execute(The elm-make handler should parse lines correctly): \ { \ 'lnum': 33, \ 'col': 1, + \ 'end_lnum': 33, + \ 'end_col': 19, \ 'type': 'W', \ 'text': 'warning overview', \ 'detail': "warning overview\n\nwarning details", @@ -14,6 +16,8 @@ Execute(The elm-make handler should parse lines correctly): \ { \ 'lnum': 404, \ 'col': 1, + \ 'end_lnum': 408, + \ 'end_col': 18, \ 'type': 'E', \ 'text': 'error overview 1', \ 'detail': "error overview 1\n\nerror details 1", @@ -21,6 +25,8 @@ Execute(The elm-make handler should parse lines correctly): \ { \ 'lnum': 406, \ 'col': 5, + \ 'end_lnum': 407, + \ 'end_col': 17, \ 'type': 'E', \ 'text': 'error overview 2', \ 'detail': "error overview 2\n\nerror details 2", @@ -28,6 +34,8 @@ Execute(The elm-make handler should parse lines correctly): \ { \ 'lnum': 406, \ 'col': 5, + \ 'end_lnum': 406, + \ 'end_col': 93, \ 'type': 'E', \ 'text': 'error overview 3', \ 'detail': "error overview 3\n\nerror details 3", @@ -44,6 +52,8 @@ Execute(The elm-make handler should put an error on the first line if a line can \ { \ 'lnum': 33, \ 'col': 1, + \ 'end_lnum': 33, + \ 'end_col': 19, \ 'type': 'W', \ 'text': 'warning overview', \ 'detail': "warning overview\n\nwarning details", |