Fix a fixer test on Windows

This commit is contained in:
w0rp 2017-11-22 14:06:37 +00:00
parent 520541cd2d
commit 382cb4d538

View file

@ -605,5 +605,10 @@ Execute(A temporary file shouldn't be piped into the command when disabled):
\ string(ale#job#PrepareCommand('echo new line')),
\ string(ale#history#Get(bufnr(''))[-1].command)
" Remove trailing whitespace for Windows.
if has('win32')
%s/[[:space:]]*$//g
endif
Expect(The new line should be used):
new line