Try to fix Windows tests again

This commit is contained in:
w0rp
2020-08-23 20:14:08 +01:00
parent c0566db1d2
commit d4583f1a63
2 changed files with 10 additions and 5 deletions

View File

@@ -230,6 +230,11 @@ Execute(Should apply filename mpapings):
ALEFix
call ale#test#FlushJobs()
if has('win32')
" We have to correct the output on Windows.
call setline(1, substitute(getline(1), '\r', '', ''))
endif
Expect(The mapped filename should be printed):
/some/fake/path/test.txt