aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/file_perm_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-08-08 01:16:08 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-08-09 15:17:46 -0400
commit348fcee5fb5c9abb0bbe86e1a018abd6fb0d8074 (patch)
tree65fa76e17781948606a31c6632e27ce839026a77 /test/functional/legacy/file_perm_spec.lua
parent68d91985013f046b9dd160932781825e3856cf9f (diff)
downloadrneovim-348fcee5fb5c9abb0bbe86e1a018abd6fb0d8074.tar.gz
rneovim-348fcee5fb5c9abb0bbe86e1a018abd6fb0d8074.tar.bz2
rneovim-348fcee5fb5c9abb0bbe86e1a018abd6fb0d8074.zip
test: Fix os_name() call.
Diffstat (limited to 'test/functional/legacy/file_perm_spec.lua')
-rw-r--r--test/functional/legacy/file_perm_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/file_perm_spec.lua b/test/functional/legacy/file_perm_spec.lua
index 98bdf630dd..9ebbfd25e4 100644
--- a/test/functional/legacy/file_perm_spec.lua
+++ b/test/functional/legacy/file_perm_spec.lua
@@ -21,7 +21,7 @@ describe('Test getting and setting file permissions', function()
eq(9, call('len', call('getfperm', tempfile)))
eq(1, call('setfperm', tempfile, 'rwx------'))
- if helpers.os_name == 'windows' then
+ if helpers.os_name() == 'windows' then
eq('rw-rw-rw-', call('getfperm', tempfile))
else
eq('rwx------', call('getfperm', tempfile))