Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
c4a47552
"vscode:/vscode.git/clone" did not exist on "c6da9d9fac86a239e1381e9aa90cfedd08fa5511"
Commit
c4a47552
authored
Apr 23, 2012
by
antirez
Browse files
Ziplist encoding now tested with negative integers as well.
parent
d3442287
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/type/list-3.tcl
View file @
c4a47552
...
...
@@ -29,6 +29,15 @@ start_server {
set data
[
randomInt 4294967296
]
}
{
set data
[
randomInt 18446744073709551616
]
}
{
set data -
[
randomInt 65536
]
if
{
$data
eq
{
-0
}}
{
set data 0
}
}
{
set data -
[
randomInt 4294967296
]
if
{
$data
eq
{
-0
}}
{
set data 0
}
}
{
set data -
[
randomInt 18446744073709551616
]
if
{
$data
eq
{
-0
}}
{
set data 0
}
}
lappend l $data
r rpush l $data
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment