diff options
author | w0rp <devw0rp@gmail.com> | 2018-03-02 20:57:55 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-03-02 20:57:55 +0000 |
commit | b6bf6ecdbc692f05f0f89eee31018c2d659b35aa (patch) | |
tree | 88ae7221e842502d78bd8c7e5282cee950324536 /test/handler/test_mcsc_handler.vader | |
parent | 540952ca8e46d7be064b020d8ff308b205e7920c (diff) | |
download | ale-b6bf6ecdbc692f05f0f89eee31018c2d659b35aa.zip |
Try to fix it again
Diffstat (limited to 'test/handler/test_mcsc_handler.vader')
-rw-r--r-- | test/handler/test_mcsc_handler.vader | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/handler/test_mcsc_handler.vader b/test/handler/test_mcsc_handler.vader index 6d6c4bad..8ae47357 100644 --- a/test/handler/test_mcsc_handler.vader +++ b/test/handler/test_mcsc_handler.vader @@ -4,6 +4,7 @@ Before: unlet! g:ale_cs_mcsc_source call ale#test#SetDirectory('/testplugin/test/handler') + call ale#test#SetFilename('Test.cs') runtime ale_linters/cs/mcsc.vim @@ -25,7 +26,7 @@ Execute(The mcs handler should work with the default of the buffer's directory): \ 'filename': ale#path#Simplify(g:dir . '/Test.cs'), \ }, \ ], - \ ale_linters#cs#mcsc#Handle(347, [ + \ ale_linters#cs#mcsc#Handle(bufnr(''), [ \ 'Test.cs(12,29): error CS1001: ; expected', \ 'Compilation failed: 2 error(s), 1 warnings', \ ]) @@ -60,7 +61,7 @@ Execute(The mcs handler should handle cannot find symbol errors): \ 'filename': ale#path#Simplify('/home/foo/project/bar/Test.cs'), \ }, \ ], - \ ale_linters#cs#mcsc#Handle(347, [ + \ ale_linters#cs#mcsc#Handle(bufnr(''), [ \ 'Test.cs(12,29): error CS1001: ; expected', \ 'Test.cs(101,0): error CS1028: Unexpected processor directive (no #if for this #endif)', \ 'Test.cs(10,12): warning CS0123: some warning', |