aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/functional/legacy/055_list_and_dict_types_spec.lua10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/functional/legacy/055_list_and_dict_types_spec.lua b/test/functional/legacy/055_list_and_dict_types_spec.lua
index b9e5a8bc03..dbe9e1bc7f 100644
--- a/test/functional/legacy/055_list_and_dict_types_spec.lua
+++ b/test/functional/legacy/055_list_and_dict_types_spec.lua
@@ -274,17 +274,13 @@ describe('list and dictionary types', function()
let dict.data = [1,2,3]
call dict.func("len: ")
let x = dict.func("again: ")
- try
- let Fn = dict.func
- call Fn('xxx')
- catch
- $put =v:exception[:15]
- endtry]])
+ let Fn = dict.func
+ call Fn('xxx')]])
expect([[
len: 3
again: 3
- Vim(call):E725: ]])
+ xxx3]])
end)
it('Function in script-local List or Dict', function()