mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: Fix os_name() call.
This commit is contained in:
parent
68d9198501
commit
348fcee5fb
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user