diff options
author | w0rp <devw0rp@gmail.com> | 2017-11-22 14:06:37 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-11-22 14:06:37 +0000 |
commit | 382cb4d5389725bf85865a87359d6ab744fb35f4 (patch) | |
tree | ba927b20de33ee34090a19132a9ba458ce0d7d87 | |
parent | 520541cd2d8ebd22a9990875655fb2d10289fd22 (diff) | |
download | ale-382cb4d5389725bf85865a87359d6ab744fb35f4.zip |
Fix a fixer test on Windows
-rw-r--r-- | test/test_ale_fix.vader | 5 |
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 |