summaryrefslogtreecommitdiff
path: root/test/fix/test_ale_fix.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-08-23 20:14:08 +0100
committerw0rp <devw0rp@gmail.com>2020-08-23 20:14:08 +0100
commitd4583f1a63ca02a36eea5437fc3674b572213cbd (patch)
treede7ef8eaa3c6454e2dd0510921e54883237511b7 /test/fix/test_ale_fix.vader
parentc0566db1d2f9850937b498c134d6297896cd2a6f (diff)
downloadale-d4583f1a63ca02a36eea5437fc3674b572213cbd.zip
Try to fix Windows tests again
Diffstat (limited to 'test/fix/test_ale_fix.vader')
-rw-r--r--test/fix/test_ale_fix.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fix/test_ale_fix.vader b/test/fix/test_ale_fix.vader
index 22a555a8..7fe5c61c 100644
--- a/test/fix/test_ale_fix.vader
+++ b/test/fix/test_ale_fix.vader
@@ -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