mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-24 22:57:21 +08:00
Fix a fixer test on Windows
This commit is contained in:
1 parent
520541cd2d
commit
382cb4d538
1 file changed
+5
@@ -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
|
||||
Reference in new issue
Block a user