diff options
author | ZyX <kp-pav@yandex.ru> | 2016-01-06 22:33:56 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2016-01-07 00:54:57 +0300 |
commit | efaf76e6238c7b109676575b41f637374f896cb8 (patch) | |
tree | 8dd89a6de2a39d3c82c15f837cccced11e0f3ae1 /test/functional/shada/errors_spec.lua | |
parent | d26b01d4bd42c7cf6fc455406b3cfd696465f652 (diff) | |
download | rneovim-efaf76e6238c7b109676575b41f637374f896cb8.tar.gz rneovim-efaf76e6238c7b109676575b41f637374f896cb8.tar.bz2 rneovim-efaf76e6238c7b109676575b41f637374f896cb8.zip |
functests: Update tests
Diffstat (limited to 'test/functional/shada/errors_spec.lua')
-rw-r--r-- | test/functional/shada/errors_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/shada/errors_spec.lua b/test/functional/shada/errors_spec.lua index f6265bf24b..e7951ee74c 100644 --- a/test/functional/shada/errors_spec.lua +++ b/test/functional/shada/errors_spec.lua @@ -497,7 +497,7 @@ $ it('errors when a funcref is stored in a variable', function() nvim_command('let F = function("tr")') nvim_command('set shada+=!') - eq('\nE475: Invalid argument: attempt to dump function reference' + eq('\nE951: Error while dumping variable g:F, itself: attempt to dump function reference' .. '\nE574: Failed to write variable F', redir_exec('wshada')) end) @@ -506,7 +506,7 @@ $ nvim_command('let L = []') nvim_command('call add(L, L)') nvim_command('set shada+=!') - eq('\nE475: Invalid argument: container references itself' + eq('\nE952: Unable to dump variable g:L: container references itself in index 0' .. '\nE574: Failed to write variable L', redir_exec('wshada')) end) |