diff options
Diffstat (limited to 'tests/unit/type/list-common.tcl')
-rw-r--r-- | tests/unit/type/list-common.tcl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/type/list-common.tcl b/tests/unit/type/list-common.tcl new file mode 100644 index 000000000..ab45f0b31 --- /dev/null +++ b/tests/unit/type/list-common.tcl @@ -0,0 +1,5 @@ +# We need a value larger than list-max-ziplist-value to make sure +# the list has the right encoding when it is swapped in again. +array set largevalue {} +set largevalue(ziplist) "hello" +set largevalue(linkedlist) [string repeat "hello" 4] |