X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/44d77bb217b51e287e1f885445440dc85a1aa641..0bd6d68e34bc41cd80cd7fc44aab9cf3884de8dc:/tests/unit/sort.tcl diff --git a/tests/unit/sort.tcl b/tests/unit/sort.tcl index ba412254..5a181641 100644 --- a/tests/unit/sort.tcl +++ b/tests/unit/sort.tcl @@ -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]