diff options
author | w0rp <devw0rp@gmail.com> | 2017-11-19 00:19:09 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-11-19 00:19:09 +0000 |
commit | 3c8f3221df1afe40ab8476c6b71a50a6f21df9c7 (patch) | |
tree | a7dc2f6e5c7651d2296e9a204ab9d75d9bb248b5 /test | |
parent | 40e26f0bc2a00d25defe190bc277a0cf6ea71479 (diff) | |
download | ale-3c8f3221df1afe40ab8476c6b71a50a6f21df9c7.zip |
#852 - Capture error codes for mcs and mcsc
Diffstat (limited to 'test')
-rw-r--r-- | test/handler/test_mcs_handler.vader | 9 | ||||
-rw-r--r-- | test/handler/test_mcsc_handler.vader | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/test/handler/test_mcs_handler.vader b/test/handler/test_mcs_handler.vader index 75a764a3..3defc328 100644 --- a/test/handler/test_mcs_handler.vader +++ b/test/handler/test_mcs_handler.vader @@ -10,19 +10,22 @@ Execute(The mcs handler should handle cannot find symbol errors): \ { \ 'lnum': 12, \ 'col' : 29, - \ 'text': 'error CS1001: ; expected', + \ 'text': '; expected', + \ 'code': 'CS1001', \ 'type': 'E', \ }, \ { \ 'lnum': 101, \ 'col': 0, - \ 'text': 'error CS1028: Unexpected processor directive (no #if for this #endif)', + \ 'text': 'Unexpected processor directive (no #if for this #endif)', + \ 'code': 'CS1028', \ 'type': 'E', \ }, \ { \ 'lnum': 10, \ 'col': 12, - \ 'text': 'warning CS0123: some warning', + \ 'text': 'some warning', + \ 'code': 'CS0123', \ 'type': 'W', \ }, \ ], diff --git a/test/handler/test_mcsc_handler.vader b/test/handler/test_mcsc_handler.vader index 5f4c133c..a0007926 100644 --- a/test/handler/test_mcsc_handler.vader +++ b/test/handler/test_mcsc_handler.vader @@ -17,21 +17,24 @@ Execute(The mcs handler should handle cannot find symbol errors): \ { \ 'lnum': 12, \ 'col' : 29, - \ 'text': 'error CS1001: ; expected', + \ 'text': '; expected', + \ 'code': 'CS1001', \ 'type': 'E', \ 'filename': ale#path#Winify('/home/foo/project/bar/Test.cs', 'add_drive'), \ }, \ { \ 'lnum': 101, \ 'col': 0, - \ 'text': 'error CS1028: Unexpected processor directive (no #if for this #endif)', + \ 'text': 'Unexpected processor directive (no #if for this #endif)', + \ 'code': 'CS1028', \ 'type': 'E', \ 'filename': ale#path#Winify('/home/foo/project/bar/Test.cs', 'add_drive'), \ }, \ { \ 'lnum': 10, \ 'col': 12, - \ 'text': 'warning CS0123: some warning', + \ 'text': 'some warning', + \ 'code': 'CS0123', \ 'type': 'W', \ 'filename': ale#path#Winify('/home/foo/project/bar/Test.cs', 'add_drive'), \ }, |