summaryrefslogtreecommitdiff
path: root/tests/unit/type/stream.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/type/stream.tcl')
-rw-r--r--tests/unit/type/stream.tcl7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unit/type/stream.tcl b/tests/unit/type/stream.tcl
index c2b524d7f..0ff570cab 100644
--- a/tests/unit/type/stream.tcl
+++ b/tests/unit/type/stream.tcl
@@ -461,3 +461,10 @@ start_server {tags {"stream"} overrides {appendonly yes aof-use-rdb-preamble no}
assert {[dict get [r xinfo stream mystream] last-generated-id] == "2-2"}
}
}
+
+start_server {tags {"stream"}} {
+ test {XGROUP HELP should not have unexpected options} {
+ catch {r XGROUP help xxx} e
+ assert_match "*Unknown subcommand or wrong number of arguments*" $e
+ }
+}