From 840bfcda1b0cf11dae1d51af903b436d02a23d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=D0=B2=D0=B0=D0=BD?= Date: Wed, 23 Oct 2024 14:49:13 +0300 Subject: [PATCH] [#540] Fix '$' in XREAD --- .../com/github/fppt/jedismock/operations/streams/XRead.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/fppt/jedismock/operations/streams/XRead.java b/src/main/java/com/github/fppt/jedismock/operations/streams/XRead.java index f24ea811..18435755 100644 --- a/src/main/java/com/github/fppt/jedismock/operations/streams/XRead.java +++ b/src/main/java/com/github/fppt/jedismock/operations/streams/XRead.java @@ -87,7 +87,7 @@ protected Slice response() { mapKeyToBeginEntryId.append( key, "$".equalsIgnoreCase(id.toString()) - ? new StreamId(0, 1) // lowest possible id + ? new StreamId(0, 0) // lowest possible id : new StreamId(id) ); } else {