summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_ale_fix.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_ale_fix.vader b/test/test_ale_fix.vader
index 07a53c75..c36de786 100644
--- a/test/test_ale_fix.vader
+++ b/test/test_ale_fix.vader
@@ -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