diff --git a/plugins/riot/src/test/java/com/redis/riot/RedisArgsTests.java b/plugins/riot/src/test/java/com/redis/riot/RedisArgsTests.java index ce832560d..3a336adce 100644 --- a/plugins/riot/src/test/java/com/redis/riot/RedisArgsTests.java +++ b/plugins/riot/src/test/java/com/redis/riot/RedisArgsTests.java @@ -35,7 +35,7 @@ void parseRange() { RangeConverter converter = new RangeConverter(); Assertions.assertEquals(new Range(123, 123), converter.convert("123")); Assertions.assertEquals(new Range(0, 123), converter.convert("0-123")); - Assertions.assertEquals(new Range(123, 123), converter.convert("123-")); + Assertions.assertEquals(new Range(123, Range.UPPER_BORDER_NOT_DEFINED), converter.convert("123-")); } }