Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: adi_holden <[email protected]>
  • Loading branch information
adiholden committed Dec 12, 2024
1 parent 9029b03 commit 75f272d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/dragonfly_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -305,15 +305,15 @@ TEST_F(DflyEngineTestWithRegistry, Hello) {

EXPECT_THAT(
resp.GetVec(),
ElementsAre("server", "redis", "version", "6.2.11", "dragonfly_version",
ElementsAre("server", "redis", "version", "7.2.0", "dragonfly_version",
ArgType(RespExpr::STRING), "proto", IntArg(2), "id", ArgType(RespExpr::INT64),
"mode", testing::AnyOf("standalone", "cluster"), "role", "master"));

resp = Run({"hello", "3"});
ASSERT_THAT(resp, ArrLen(14));
EXPECT_THAT(
resp.GetVec(),
ElementsAre("server", "redis", "version", "6.2.11", "dragonfly_version",
ElementsAre("server", "redis", "version", "7.2.0", "dragonfly_version",
ArgType(RespExpr::STRING), "proto", IntArg(3), "id", ArgType(RespExpr::INT64),
"mode", testing::AnyOf("standalone", "cluster"), "role", "master"));

Expand Down

0 comments on commit 75f272d

Please sign in to comment.