diff options
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'), \ }, |