diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-02-04 04:03:08 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-02-04 04:04:27 +0100 |
commit | 6d4e08d226971220b02fd74032f931779a0acd38 (patch) | |
tree | 394c8d8bc7ce278820fcb7f1bb103f8a45b00752 | |
parent | 4b7d3aec04d28b9d1f99c4ffbdb84d38f20a6f8d (diff) | |
download | rneovim-6d4e08d226971220b02fd74032f931779a0acd38.tar.gz rneovim-6d4e08d226971220b02fd74032f931779a0acd38.tar.bz2 rneovim-6d4e08d226971220b02fd74032f931779a0acd38.zip |
test: Remove whitespace (avoid LF/CRLF discrepancy)
-rw-r--r-- | test/functional/legacy/008_autocommands_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/legacy/008_autocommands_spec.lua b/test/functional/legacy/008_autocommands_spec.lua index 58f93392f0..2c398d3c73 100644 --- a/test/functional/legacy/008_autocommands_spec.lua +++ b/test/functional/legacy/008_autocommands_spec.lua @@ -85,6 +85,7 @@ describe('autocommands that delete and unload buffers:', function() feed('<C-L>') execute('q') wait() - eq('\nVimLeave done\n', io.open('test.out', 'r'):read('*all')) + eq('VimLeave done', + string.match(io.open('test.out', 'r'):read('*all'), "^%s*(.-)%s*$")) end) end) |