mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
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.
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user