aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-01-14 09:47:33 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-01-19 09:55:57 +0100
commite40946a5be2ce11156fc7494ec81040d3cde4809 (patch)
tree02b2c35a2d9f7f83db8acc3650d006544d1f4e16 /test/helpers.lua
parent75e6af44e03e706df896df8b57d8e29c9a0d0f41 (diff)
downloadrneovim-e40946a5be2ce11156fc7494ec81040d3cde4809.tar.gz
rneovim-e40946a5be2ce11156fc7494ec81040d3cde4809.tar.bz2
rneovim-e40946a5be2ce11156fc7494ec81040d3cde4809.zip
win: test: enable job_spec.lua
- Default to powershell. - Avoid hardcoded "-c". - Remove ^M character from received lines. - pending_win32(): clear() is unnecessary and it pollutes the tests. Closes #3973 Helped-by: Rui Abreu Ferreira <raf-ep@gmx.com>
Diffstat (limited to 'test/helpers.lua')
-rw-r--r--test/helpers.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/helpers.lua b/test/helpers.lua
index 0bc62da5d7..def0740f85 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -68,6 +68,7 @@ local uname = (function()
local status, f = pcall(io.popen, "uname -s")
if status then
platform = f:read("*l")
+ f:close()
else
platform = 'Windows'
end