summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-11-19 11:49:05 +0100
committerantirez <antirez@gmail.com>2019-11-19 17:25:42 +0100
commit32a6e3e48e35999ecd151735c15f9cf0d3235255 (patch)
tree660c7c589bf1a29b997bc7fdfef805bd51cc0560
parentc9e6cda9e8610b0ad274c44373347873f14d8a3d (diff)
downloadredis-32a6e3e48e35999ecd151735c15f9cf0d3235255.tar.gz
Fix stream test after addition of 0-0 ID test.
-rw-r--r--tests/unit/type/stream.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/type/stream.tcl b/tests/unit/type/stream.tcl
index 8eaf36b4c..886156498 100644
--- a/tests/unit/type/stream.tcl
+++ b/tests/unit/type/stream.tcl
@@ -124,9 +124,9 @@ start_server {
}
test {XADD with ID 0-0} {
- r DEL mystream
- catch {r XADD mystream 0-0 k v} err
- assert {[r EXISTS mystream] == 0}
+ r DEL otherstream
+ catch {r XADD otherstream 0-0 k v} err
+ assert {[r EXISTS otherstream] == 0}
}
test {XRANGE COUNT works as expected} {