mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-17 19:41:27 +08:00
Fix an exception with notes with no previous message
This commit is contained in:
1 parent
7eb16836d0
commit
da365134b5
2 files changed
+14
-2
No files matched your search
@@ -128,3 +128,11 @@ Execute(The GCC handler should handle syntax errors):
|
||||
\ '<stdin>:4: error: ''cat'' was not declared in this scope',
|
||||
\ '<stdin>:12: error: expected `;'' before ''o''',
|
||||
\ ])
|
||||
|
||||
Execute(The GCC handler should handle notes with no previous message):
|
||||
AssertEqual
|
||||
\ [],
|
||||
\ ale#handlers#gcc#HandleGCCFormat(347, [
|
||||
\ '<stdin>:1:1: note: x',
|
||||
\ '<stdin>:1:1: note: x',
|
||||
\ ])
|
||||
Reference in new issue
Block a user