eval/typval,tests: Fix extending list with itself, add tests

Adds unit test for tv_list_extend and regression test for extend() VimL
function.
This commit is contained in:
ZyX
2016-09-24 00:51:34 +03:00
parent 56e4c2f67e
commit 7ceebacb3f
4 changed files with 187 additions and 27 deletions

View File

@@ -439,4 +439,6 @@ return {
list_items=list_items,
dict_items=dict_items,
empty_list = {[type_key]=list_type},
}