sled/src/status_test.cc

10 lines
207 B
C++
Raw Normal View History

2024-03-23 15:40:27 +08:00
#include <gtest/gtest.h>
#include <sled/log/log.h>
#include <sled/status.h>
TEST(Status, format)
{
auto status = sled::Status(sled::StatusCode::kOk, "");
EXPECT_EQ(fmt::format("{}", status), "");
}