diff --git a/test/test_imp_system.cpp b/test/test_imp_system.cpp index a6a6bcd..ff8832e 100644 --- a/test/test_imp_system.cpp +++ b/test/test_imp_system.cpp @@ -29,6 +29,7 @@ TEST(system, error_code) { std::stringstream ss; ss << imp::sys::error{}; EXPECT_EQ(e_msg, ss.str()); + EXPECT_EQ(e_msg, fmt::format("{}", imp::sys::error())); std::cout << e_msg << "\n"; }