mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
file_perm_spec: Fix the test condition on Windows.
This commit is contained in:
@@ -22,7 +22,7 @@ describe('Test getting and setting file permissions', function()
|
||||
|
||||
eq(1, call('setfperm', tempfile, 'rwx------'))
|
||||
if helpers.os_name == 'windows' then
|
||||
eq('rwx------', call('getfperm', tempfile))
|
||||
eq('rw-rw-rw-', call('getfperm', tempfile))
|
||||
else
|
||||
eq('rwx------', call('getfperm', tempfile))
|
||||
end
|
||||
|
Reference in New Issue
Block a user