aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-06-07 23:19:02 +0200
committerGitHub <noreply@github.com>2017-06-07 23:19:02 +0200
commit16cce1ac17456e3758f95af6ce7289bade3bb285 (patch)
tree1e5bc9c076e6a49dcc750cb686c45a0e371b3a31 /test/functional/helpers.lua
parentd3d0c9a7b11cad3f277f732dee6c782d1d911b48 (diff)
parentbc025ab117c92418f890085dc13f26cb7c976772 (diff)
downloadrneovim-16cce1ac17456e3758f95af6ce7289bade3bb285.tar.gz
rneovim-16cce1ac17456e3758f95af6ce7289bade3bb285.tar.bz2
rneovim-16cce1ac17456e3758f95af6ce7289bade3bb285.zip
Merge #6827 'Always enable logging'
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 62b0ce1200..b8512c0ad6 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -174,7 +174,7 @@ local os_name = (function()
end)()
local function iswin()
- return os_name() == 'windows'
+ return package.config:sub(1,1) == '\\'
end
-- Executes a VimL function.