diff options
author | P M <10617122+pylipp@users.noreply.github.com> | 2018-03-25 12:55:59 +0200 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2018-03-25 11:55:59 +0100 |
commit | 107516c757df82d2ee84426de9b35fd52e953c5c (patch) | |
tree | e1286692393802e69f8f2620b9e4d14341ba7b94 /test/handler/test_qmllint_handler.vader | |
parent | d14558da32dd3d776c298fea6456c92870b46d5d (diff) | |
download | ale-107516c757df82d2ee84426de9b35fd52e953c5c.zip |
Add basic qmllint support (#1419)
* Add basic qmllint support
* Use temp file, remove superfluous error code key, adjust author info
* Add qmllint handler parse test
Diffstat (limited to 'test/handler/test_qmllint_handler.vader')
-rw-r--r-- | test/handler/test_qmllint_handler.vader | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/handler/test_qmllint_handler.vader b/test/handler/test_qmllint_handler.vader new file mode 100644 index 00000000..fcc65eb5 --- /dev/null +++ b/test/handler/test_qmllint_handler.vader @@ -0,0 +1,19 @@ +Before: + runtime ale_linters/qml/qmllint.vim + +After: + call ale#linter#Reset() + +Execute(The qmllint handler should parse error messages correctly): + AssertEqual + \ [ + \ { + \ 'lnum': 2, + \ 'col': 0, + \ 'type': 'E', + \ 'text': 'Expected token ''}''' + \ } + \ ], + \ ale_linters#qml#qmllint#Handle(1, [ + \ '/tmp/ab34cd56/Test.qml:2 : Expected token ''}''' + \ ]) |