From efaf76e6238c7b109676575b41f637374f896cb8 Mon Sep 17 00:00:00 2001 From: ZyX Date: Wed, 6 Jan 2016 22:33:56 +0300 Subject: functests: Update tests --- test/functional/shada/errors_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/shada/errors_spec.lua') 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) -- cgit