From 382cb4d5389725bf85865a87359d6ab744fb35f4 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 22 Nov 2017 14:06:37 +0000 Subject: Fix a fixer test on Windows --- test/test_ale_fix.vader | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/test_ale_fix.vader') 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 -- cgit v1.2.3