From 95845b14dcf004680be66d420233f002f07b2820 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Sat, 23 Mar 2024 15:57:15 +0800 Subject: [PATCH] fix status ToString --- src/status_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_test.cc b/src/status_test.cc index 4062fb5..66c936c 100644 --- a/src/status_test.cc +++ b/src/status_test.cc @@ -5,5 +5,5 @@ TEST(Status, format) { auto status = sled::Status(sled::StatusCode::kOk, ""); - EXPECT_EQ(fmt::format("{}", status), ""); + EXPECT_EQ(fmt::format("{}", status), "OK"); }