Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b2e29597
Commit
b2e29597
authored
Oct 30, 2017
by
antirez
Browse files
Regression test for issue #4391.
parent
de474186
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/type/zset.tcl
View file @
b2e29597
...
@@ -696,6 +696,10 @@ start_server {tags {"zset"}} {
...
@@ -696,6 +696,10 @@ start_server {tags {"zset"}} {
}
}
}
}
test
"ZSET commands don't accept the empty strings as valid score"
{
assert_error
"*not*float*"
{
r zadd myzset
""
abc
}
}
proc stressers
{
encoding
}
{
proc stressers
{
encoding
}
{
if
{
$encoding
==
"ziplist"
}
{
if
{
$encoding
==
"ziplist"
}
{
# Little extra to allow proper fuzzing in the sorting stresser
# Little extra to allow proper fuzzing in the sorting stresser
...
...
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