diff options
Diffstat (limited to 'tests/unit/latency-monitor.tcl')
-rw-r--r-- | tests/unit/latency-monitor.tcl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/latency-monitor.tcl b/tests/unit/latency-monitor.tcl index d76867cc6..18b9ecebb 100644 --- a/tests/unit/latency-monitor.tcl +++ b/tests/unit/latency-monitor.tcl @@ -67,4 +67,9 @@ start_server {tags {"latency-monitor"}} { } assert_match {*expire-cycle*} [r latency latest] } + + test {LATENCY HELP should not have unexpected options} { + catch {r LATENCY help xxx} e + assert_match "*Unknown subcommand or wrong number of arguments*" $e + } } |