mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
parent
e5a3a83bae
commit
f113d29918
8 changed files with 29 additions and 15 deletions
|
@ -98,6 +98,8 @@ TEST_F(ZSetFamilyTest, ZRemRangeScore) {
|
|||
EXPECT_THAT(Run({"zrange", "x", "0", "5"}), ElementsAre("b"));
|
||||
EXPECT_THAT(Run({"ZREMRANGEBYSCORE", "x", "(2.0", "+inf"}), ElementsAre(IntArg(1)));
|
||||
EXPECT_THAT(Run({"type", "x"}), ElementsAre("none"));
|
||||
EXPECT_THAT(Run({"zremrangebyscore", "x", "1", "NaN"}),
|
||||
ElementsAre(ErrArg("min or max is not a float")));
|
||||
}
|
||||
|
||||
TEST_F(ZSetFamilyTest, IncrBy) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue