diff options
author | w0rp <devw0rp@gmail.com> | 2020-08-23 20:19:22 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2020-08-23 20:19:22 +0100 |
commit | 33eb03ea7102aaea5b8791cfa070961b40fc40fd (patch) | |
tree | c9f429d54f2ba7692af4881b3b28f68bd9e3e5ea | |
parent | d4583f1a63ca02a36eea5437fc3674b572213cbd (diff) | |
download | ale-33eb03ea7102aaea5b8791cfa070961b40fc40fd.zip |
Yes, try again to fix Windows tests
-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 |