diff options
Diffstat (limited to 'tests/unit/introspection-2.tcl')
-rw-r--r-- | tests/unit/introspection-2.tcl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/introspection-2.tcl b/tests/unit/introspection-2.tcl index a0cf0c30f..52a13edf7 100644 --- a/tests/unit/introspection-2.tcl +++ b/tests/unit/introspection-2.tcl @@ -118,6 +118,10 @@ start_server {tags {"introspection"}} { assert_match {*calls=1,*} [cmdstat geoadd] } {} {needs:config-resetstat} + test {COMMAND COUNT get total number of Redis commands} { + assert_morethan [r command count] 0 + } + test {COMMAND GETKEYS GET} { assert_equal {key} [r command getkeys get key] } |