diff options
author | ZyX <kp-pav@yandex.ru> | 2016-09-24 00:51:34 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-03-29 10:08:06 +0300 |
commit | 7ceebacb3fad49ba8321397cf839948caa55b3f5 (patch) | |
tree | 4c7179f83001d9c7f0b25045e6779bc8df26b81e /test/unit/eval/helpers.lua | |
parent | 56e4c2f67e54b88f637d30e565313bc6b2c22f29 (diff) | |
download | rneovim-7ceebacb3fad49ba8321397cf839948caa55b3f5.tar.gz rneovim-7ceebacb3fad49ba8321397cf839948caa55b3f5.tar.bz2 rneovim-7ceebacb3fad49ba8321397cf839948caa55b3f5.zip |
eval/typval,tests: Fix extending list with itself, add tests
Adds unit test for tv_list_extend and regression test for extend() VimL
function.
Diffstat (limited to 'test/unit/eval/helpers.lua')
-rw-r--r-- | test/unit/eval/helpers.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/eval/helpers.lua b/test/unit/eval/helpers.lua index f4ea6799f5..eea5cc8880 100644 --- a/test/unit/eval/helpers.lua +++ b/test/unit/eval/helpers.lua @@ -439,4 +439,6 @@ return { list_items=list_items, dict_items=dict_items, + + empty_list = {[type_key]=list_type}, } |