aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds/profile_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2016-08-31 21:39:42 +0200
committerGitHub <noreply@github.com>2016-08-31 21:39:42 +0200
commit0ade1bb7067d0cdb9b059fb66a8c4b868408be9c (patch)
tree36c02a63f28bef74b6f8a3cf891267912867e193 /test/functional/ex_cmds/profile_spec.lua
parent7fd771619f2a2e2fe6007aaa6aa9a02cbdd205bd (diff)
parent9ce81f7b2b90846063f6bd4a5ce8efc61e437983 (diff)
downloadrneovim-0ade1bb7067d0cdb9b059fb66a8c4b868408be9c.tar.gz
rneovim-0ade1bb7067d0cdb9b059fb66a8c4b868408be9c.tar.bz2
rneovim-0ade1bb7067d0cdb9b059fb66a8c4b868408be9c.zip
Merge pull request #5225 from equalsraf/windows-functionaltests
Enable functional tests in Appveyor
Diffstat (limited to 'test/functional/ex_cmds/profile_spec.lua')
-rw-r--r--test/functional/ex_cmds/profile_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ex_cmds/profile_spec.lua b/test/functional/ex_cmds/profile_spec.lua
index d390806679..f185db192a 100644
--- a/test/functional/ex_cmds/profile_spec.lua
+++ b/test/functional/ex_cmds/profile_spec.lua
@@ -5,9 +5,9 @@ local helpers = require('test.functional.helpers')(after_each)
local eval = helpers.eval
local command = helpers.command
local eq, neq = helpers.eq, helpers.neq
-local tempfile = os.tmpname()
+local tempfile = helpers.tmpname()
--- os.tmpname() also creates the file on POSIX systems. Remove it again.
+-- tmpname() also creates the file on POSIX systems. Remove it again.
-- We just need the name, ignoring any race conditions.
if lfs.attributes(tempfile, 'uid') then
os.remove(tempfile)