From c2e4c64db46460a1ceeb24b0887976a766acb8e7 Mon Sep 17 00:00:00 2001 From: "zhaozhao.zz" Date: Tue, 16 Oct 2018 23:56:26 +0800 Subject: [PATCH] Streams: Tests modified XSTREAM -> XSETID --- tests/unit/type/stream.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/type/stream.tcl b/tests/unit/type/stream.tcl index c75bbb19..ae6c2d7b 100644 --- a/tests/unit/type/stream.tcl +++ b/tests/unit/type/stream.tcl @@ -375,14 +375,14 @@ start_server {tags {"xsetid"}} { assert {[dict get [r xinfo stream mystream] last-generated-id] == "200-0"} } - test {XSTREAM cannot SETID with smaller ID} { + test {XSETID cannot SETID with smaller ID} { r XADD mystream * a b catch {r XSETID mystream "1-1"} err r XADD mystream MAXLEN 0 * a b set err } {ERR*smaller*} - test {XSTREAM cannot SETID on non-existent key} { + test {XSETID cannot SETID on non-existent key} { catch {r XSETID stream 1-1} err set _ $err } {ERR no such key}