diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-08-09 21:31:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-09 21:31:30 -0400 |
commit | 3b785b32f9c85f6f2547a509fb6faa4a717f19cf (patch) | |
tree | f6dd1aa56b0abc7884922483cc64a3d383224f7b /test/functional/legacy/file_perm_spec.lua | |
parent | 3ff252ca86442e73c7bf56f63fe696043883388b (diff) | |
parent | 348fcee5fb5c9abb0bbe86e1a018abd6fb0d8074 (diff) | |
download | rneovim-3b785b32f9c85f6f2547a509fb6faa4a717f19cf.tar.gz rneovim-3b785b32f9c85f6f2547a509fb6faa4a717f19cf.tar.bz2 rneovim-3b785b32f9c85f6f2547a509fb6faa4a717f19cf.zip |
Merge #5188 from justinmk/travis-test-hack
Disable test on Travis macOS/OSX.
Diffstat (limited to 'test/functional/legacy/file_perm_spec.lua')
-rw-r--r-- | test/functional/legacy/file_perm_spec.lua | 2 |
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)) |