Skip to content

Commit

Permalink
Fix xadd spec
Browse files Browse the repository at this point in the history
This is now failing as CI is downloading the latest Redis version.
  • Loading branch information
sds committed Aug 26, 2020
1 parent ab2e3bf commit 846f0cb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec/commands/xadd_spec.rb
Expand Up @@ -52,10 +52,7 @@
expect { @redises.xadd('mock-redis-test:unknown-stream', { key: 'value' }, id: '0') }
.to raise_error(
Redis::CommandError,
'ERR The ID specified in XADD is equal or smaller than the target ' \
'stream top item'
# TOOD: Redis version 6.0.4, w redis 4.2.1 generates the following error message:
# 'ERR The ID specified in XADD must be greater than 0-0'
'ERR The ID specified in XADD must be greater than 0-0'
)
end

Expand Down

0 comments on commit 846f0cb

Please sign in to comment.