summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-19 00:38:00 +0000
committerw0rp <devw0rp@gmail.com>2017-11-19 00:38:00 +0000
commitc012563984f0470a7c637b3b55cebea28b7a50b0 (patch)
treefdd4fde368d261fa5c796cb7f2aee0ffa47ccca4 /test
parent3c8f3221df1afe40ab8476c6b71a50a6f21df9c7 (diff)
downloadale-c012563984f0470a7c637b3b55cebea28b7a50b0.zip
#852 - Capture error codes for nimcheck
Diffstat (limited to 'test')
-rw-r--r--test/handler/test_nim_handler.vader10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/handler/test_nim_handler.vader b/test/handler/test_nim_handler.vader
index 1f9de589..e484000e 100644
--- a/test/handler/test_nim_handler.vader
+++ b/test/handler/test_nim_handler.vader
@@ -12,25 +12,27 @@ Execute(Parsing nim errors should work):
\ {
\ 'lnum': 8,
\ 'col': 8,
- \ 'text': 'Warning: use {.base.} for base methods; baseless methods are deprecated [UseBase]',
+ \ 'text': 'use {.base.} for base methods; baseless methods are deprecated',
+ \ 'code': 'UseBase',
\ 'type': 'W',
\ },
\ {
\ 'lnum': 12,
\ 'col': 2,
- \ 'text': 'Error: identifier expected, but found ''a.barfoo''',
+ \ 'text': 'identifier expected, but found ''a.barfoo''',
\ 'type': 'E',
\ },
\ {
\ 'lnum': 2,
\ 'col': 5,
- \ 'text': 'Hint: ''NotUsed'' is declared but not used [XDeclaredButNotUsed]',
+ \ 'text': '''NotUsed'' is declared but not used',
+ \ 'code': 'XDeclaredButNotUsed',
\ 'type': 'W',
\ },
\ {
\ 'lnum': 12,
\ 'col': 2,
- \ 'text': 'Error: with : character',
+ \ 'text': 'with : character',
\ 'type': 'E',
\ },
\ ],