mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 20:54:26 +08:00
Yes, try again to fix Windows tests
This commit is contained in:
@@ -229,11 +229,8 @@ Execute(Should apply filename mpapings):
|
|||||||
let g:ale_fixers.testft = ['echo_filename']
|
let g:ale_fixers.testft = ['echo_filename']
|
||||||
ALEFix
|
ALEFix
|
||||||
call ale#test#FlushJobs()
|
call ale#test#FlushJobs()
|
||||||
|
" Remote trailing whitespace from the line.
|
||||||
if has('win32')
|
call setline(1, substitute(getline(1), '[ \r]\+$', '', ''))
|
||||||
" We have to correct the output on Windows.
|
|
||||||
call setline(1, substitute(getline(1), '\r', '', ''))
|
|
||||||
endif
|
|
||||||
|
|
||||||
Expect(The mapped filename should be printed):
|
Expect(The mapped filename should be printed):
|
||||||
/some/fake/path/test.txt
|
/some/fake/path/test.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user