aboutsummaryrefslogtreecommitdiff
path: root/test/unit/eval/helpers.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-09-24 00:51:34 +0300
committerZyX <kp-pav@yandex.ru>2017-03-29 10:08:06 +0300
commit7ceebacb3fad49ba8321397cf839948caa55b3f5 (patch)
tree4c7179f83001d9c7f0b25045e6779bc8df26b81e /test/unit/eval/helpers.lua
parent56e4c2f67e54b88f637d30e565313bc6b2c22f29 (diff)
downloadrneovim-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.lua2
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},
}