summaryrefslogtreecommitdiff
path: root/test/handler/test_mcsc_handler.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-12-19 18:23:09 +0000
committerw0rp <devw0rp@gmail.com>2017-12-19 18:23:09 +0000
commit1568bf81281507aaaa8c71af85e244e94bd2924c (patch)
tree4694f6d24b82b6b57a7b934aebe68ea1c09ec57b /test/handler/test_mcsc_handler.vader
parent73f61514c9039e7e863da3544f251d3f8d7d1956 (diff)
downloadale-1568bf81281507aaaa8c71af85e244e94bd2924c.zip
Fix the mscs tests on Windows, and use the improved Simplify for all tests instead.v1.7.0
Diffstat (limited to 'test/handler/test_mcsc_handler.vader')
-rw-r--r--test/handler/test_mcsc_handler.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/handler/test_mcsc_handler.vader b/test/handler/test_mcsc_handler.vader
index d97a2edc..ac55ee81 100644
--- a/test/handler/test_mcsc_handler.vader
+++ b/test/handler/test_mcsc_handler.vader
@@ -18,7 +18,7 @@ Execute(The mcs handler should work with the default of the buffer's directory):
\ 'text': '; expected',
\ 'code': 'CS1001',
\ 'type': 'E',
- \ 'filename': ale#path#Winify(expand('%:p:h') . '/Test.cs', 'add_drive'),
+ \ 'filename': ale#path#Simplify(expand('%:p:h') . '/Test.cs'),
\ },
\ ],
\ ale_linters#cs#mcsc#Handle(347, [
@@ -37,7 +37,7 @@ Execute(The mcs handler should handle cannot find symbol errors):
\ 'text': '; expected',
\ 'code': 'CS1001',
\ 'type': 'E',
- \ 'filename': ale#path#Winify('/home/foo/project/bar/Test.cs', 'add_drive'),
+ \ 'filename': ale#path#Simplify('/home/foo/project/bar/Test.cs'),
\ },
\ {
\ 'lnum': 101,
@@ -45,7 +45,7 @@ Execute(The mcs handler should handle cannot find symbol errors):
\ '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'),
+ \ 'filename': ale#path#Simplify('/home/foo/project/bar/Test.cs'),
\ },
\ {
\ 'lnum': 10,
@@ -53,7 +53,7 @@ Execute(The mcs handler should handle cannot find symbol errors):
\ 'text': 'some warning',
\ 'code': 'CS0123',
\ 'type': 'W',
- \ 'filename': ale#path#Winify('/home/foo/project/bar/Test.cs', 'add_drive'),
+ \ 'filename': ale#path#Simplify('/home/foo/project/bar/Test.cs'),
\ },
\ ],
\ ale_linters#cs#mcsc#Handle(347, [