projects
/
redis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test both sorted set encodings for every test
[redis.git]
/
tests
/
unit
/
type
/
hash.tcl
diff --git
a/tests/unit/type/hash.tcl
b/tests/unit/type/hash.tcl
index 2c0bd53492d0c4a83f2727af778a1e38c56fec28..8559dc3c3801c4a21513906318edf9141103b930 100644
(file)
--- a/
tests/unit/type/hash.tcl
+++ b/
tests/unit/type/hash.tcl
@@
-140,6
+140,11
@@
start_server {tags {"hash"}} {
set _ $rv
} {{{} {}} {{} {}} {{} {}}}
+ test {HMGET against wrong type} {
+ r set wrongtype somevalue
+ assert_error "*wrong*" {r hmget wrongtype field1 field2}
+ }
+
test {HMGET - small hash} {
set keys {}
set vals {}