summaryrefslogtreecommitdiffstats
path: root/tests/unit/type/list-common.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/type/list-common.tcl')
-rw-r--r--tests/unit/type/list-common.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/type/list-common.tcl b/tests/unit/type/list-common.tcl
new file mode 100644
index 0000000..b393737
--- /dev/null
+++ b/tests/unit/type/list-common.tcl
@@ -0,0 +1,4 @@
+# We need a value to make sure the list has the right encoding when it is inserted.
+array set largevalue {}
+set largevalue(listpack) "hello"
+set largevalue(quicklist) [string repeat "x" 8192]