mirror of
https://github.com/dense-analysis/ale
synced 2025-02-16 20:26:54 +00:00
Yes, try again to fix Windows tests
This commit is contained in:
parent
d4583f1a63
commit
33eb03ea71
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user