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
a1090c11
Commit
a1090c11
authored
Apr 17, 2012
by
antirez
Browse files
Added test for SORT corner case: pattern ending with just "->".
parent
68ee1855
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/unit/sort.tcl
View file @
a1090c11
...
...
@@ -190,6 +190,13 @@ start_server {
r sort myset by score:*
}
{
a aa aaa azz b c d e f g h i l m n o p q r s t u v z
}
test
"SORT GET with pattern ending with just -> does not get hash field"
{
r del mylist
r lpush mylist a
r set x:a-> 100
r sort mylist by num get x:*->
}
{
100
}
tags
{
"slow"
}
{
set num 100
set res
[
create_random_dataset $num lpush
]
...
...
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