diff options
author | Matt Brown <github@muglug.com> | 2018-10-19 16:31:12 -0400 |
---|---|---|
committer | Matt Brown <github@muglug.com> | 2018-10-19 16:31:12 -0400 |
commit | 7fa0d3dcc47a03c54c4450377ef8053b32e0139a (patch) | |
tree | bb6632351921c7c9e20a1050ff38736f1ad86d94 /test/handler | |
parent | 0ed07a9ef52b5f8ac528eadb5252ed091db53265 (diff) | |
download | ale-7fa0d3dcc47a03c54c4450377ef8053b32e0139a.zip |
Add tests for updated Psalm plugin
Diffstat (limited to 'test/handler')
-rw-r--r-- | test/handler/test_php_psalm_handler.vader | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test/handler/test_php_psalm_handler.vader b/test/handler/test_php_psalm_handler.vader deleted file mode 100644 index fd62a467..00000000 --- a/test/handler/test_php_psalm_handler.vader +++ /dev/null @@ -1,24 +0,0 @@ -Before: - runtime ale_linters/php/psalm.vim - -After: - call ale#linter#Reset() - -Execute(The php static analyzer handler should parse errors from psalm): - AssertEqual - \ [ - \ { - \ 'lnum': 1, - \ 'type': 'W', - \ 'text': 'somewarning', - \ }, - \ { - \ 'lnum': 11, - \ 'type': 'E', - \ 'text': 'someerror', - \ }, - \ ], - \ ale_linters#php#psalm#Handle(347, [ - \ "/file:1:3:warning - somewarning", - \ "/file:11:33:error - someerror", - \ ]) |