summaryrefslogtreecommitdiff
path: root/test/handler/test_nim_handler.vader
diff options
context:
space:
mode:
authorbaabelfish <baabelfish@users.noreply.github.com>2017-03-22 11:11:32 +0200
committerw0rp <w0rp@users.noreply.github.com>2017-03-22 09:11:32 +0000
commit9f3cdf827025cd02084209c527757516f8812ae9 (patch)
treecfb78f1f8268f5564cfe98ba5d0cdcb7bb2b80c4 /test/handler/test_nim_handler.vader
parent59b5644fb3d893c8146edd5e370f02ab114c09c2 (diff)
downloadale-9f3cdf827025cd02084209c527757516f8812ae9.zip
Fix problems with nim check (#404)
* Fix problems with nim check - Multi file errors are not shown in the same buffer - Fixes parsing of error type that contain ':' * Remove redundant fnameescape
Diffstat (limited to 'test/handler/test_nim_handler.vader')
-rw-r--r--test/handler/test_nim_handler.vader8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/handler/test_nim_handler.vader b/test/handler/test_nim_handler.vader
index d3ff8f86..9e4159c6 100644
--- a/test/handler/test_nim_handler.vader
+++ b/test/handler/test_nim_handler.vader
@@ -24,10 +24,18 @@ Execute(Parsing nim errors should work):
\ 'text': 'Hint: ''NotUsed'' is declared but not used [XDeclaredButNotUsed]',
\ 'type': 'W',
\ },
+ \ {
+ \ 'bufnr': 42,
+ \ 'lnum': 12,
+ \ 'col': 2,
+ \ 'text': 'Error: with : character',
+ \ 'type': 'E',
+ \ },
\ ],
\ ale_linters#nim#nimcheck#Handle(42, [
\ 'Line with wrong( format)',
\ 'foobar.nim(8, 8) Warning: use {.base.} for base methods; baseless methods are deprecated [UseBase]',
\ 'foobar.nim(12, 2) Error: identifier expected, but found ''a.barfoo''',
\ '/nested/folder/foobar.nim(2, 5) Hint: ''NotUsed'' is declared but not used [XDeclaredButNotUsed]',
+ \ 'foobar.nim(12, 2) Error: with : character',
\ ])