aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/file_perm_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-05-07 03:24:01 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-05-09 23:18:38 +0200
commitc9f3174075a7168f10fabf806891ef59ee3b13d4 (patch)
tree67adda606732fdcfa746852a685c183bc11037a1 /test/functional/legacy/file_perm_spec.lua
parent33bfea31b0cd630f6494cf91d06c807f03d29a85 (diff)
downloadrneovim-c9f3174075a7168f10fabf806891ef59ee3b13d4.tar.gz
rneovim-c9f3174075a7168f10fabf806891ef59ee3b13d4.tar.bz2
rneovim-c9f3174075a7168f10fabf806891ef59ee3b13d4.zip
API: return non-generic VimL errors
- Return VimL errors instead of generic errors for: - nvim_call_function - nvim_call_dict_function - Fix tests which were silently broken before this change. This violates #6150 where we agreed not to translate API errors. But that can be fixed later.
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 77e82352c5..d61fdc9b83 100644
--- a/test/functional/legacy/file_perm_spec.lua
+++ b/test/functional/legacy/file_perm_spec.lua
@@ -15,7 +15,7 @@ describe('Test getting and setting file permissions', function()
it('file permissions', function()
eq('', call('getfperm', tempfile))
- eq(0, call('setfperm', tempfile, 'r------'))
+ eq(0, call('setfperm', tempfile, 'r--------'))
call('writefile', {'one'}, tempfile)
eq(9, call('len', call('getfperm', tempfile)))