diff options
Diffstat (limited to 'test/fix')
-rw-r--r-- | test/fix/test_ale_fix.vader | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/fix/test_ale_fix.vader b/test/fix/test_ale_fix.vader index 7fe5c61c..e8a9dd7a 100644 --- a/test/fix/test_ale_fix.vader +++ b/test/fix/test_ale_fix.vader @@ -229,11 +229,8 @@ Execute(Should apply filename mpapings): let g:ale_fixers.testft = ['echo_filename'] ALEFix call ale#test#FlushJobs() - - if has('win32') - " We have to correct the output on Windows. - call setline(1, substitute(getline(1), '\r', '', '')) - endif + " Remote trailing whitespace from the line. + call setline(1, substitute(getline(1), '[ \r]\+$', '', '')) Expect(The mapped filename should be printed): /some/fake/path/test.txt |