summaryrefslogtreecommitdiff
path: root/test/handler/test_dafny_handler.vader
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2021-01-20 20:48:53 +0900
committerGitHub <noreply@github.com>2021-01-20 20:48:53 +0900
commit7b42dd7387f4c45ac7d5fffb6662d0177f5e1d54 (patch)
tree628b4db39414b04c95c5bcc29c707dda0112f469 /test/handler/test_dafny_handler.vader
parent16c45b82130c602c1542287d4509fc2809035e04 (diff)
parent303b89a6b4ace2ee41818499b958a2f486e8864c (diff)
downloadale-7b42dd7387f4c45ac7d5fffb6662d0177f5e1d54.zip
Merge pull request #3475 from benknoble/dafny-include-timeouts
dafny: add a timeLimit option and message-parsing
Diffstat (limited to 'test/handler/test_dafny_handler.vader')
-rw-r--r--test/handler/test_dafny_handler.vader12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/handler/test_dafny_handler.vader b/test/handler/test_dafny_handler.vader
index 797d348e..472615ac 100644
--- a/test/handler/test_dafny_handler.vader
+++ b/test/handler/test_dafny_handler.vader
@@ -20,9 +20,17 @@ Execute(The Dafny handler should parse output correctly):
\ 'lnum': 678,
\ 'text': 'This is the precondition that might not hold.',
\ 'type': 'W'
- \ }
+ \ },
+ \ {
+ \ 'bufnr': 0,
+ \ 'col': 45,
+ \ 'lnum': 123,
+ \ 'text': "Verification of 'Impl$$_22_Proof.__default.PutKeepsMapsFull' timed out after 2 seconds",
+ \ 'type': 'E'
+ \ },
\ ],
\ ale_linters#dafny#dafny#Handle(0, [
\ 'File.dfy(123,45): Error BP5002: A precondition for this call might not hold.',
- \ 'File.dfy(678,90): Related location: This is the precondition that might not hold.'
+ \ 'File.dfy(678,90): Related location: This is the precondition that might not hold.',
+ \ "File.dfy(123,45): Verification of 'Impl$$_22_Proof.__default.PutKeepsMapsFull' timed out after 2 seconds",
\ ])