Add std::thread::id formatter

This commit is contained in:
Victor Zverovich
2022-05-17 16:37:19 -07:00
parent 9730fb0156
commit 6bf039d750
2 changed files with 11 additions and 1 deletions
+4
View File
@@ -14,3 +14,7 @@ TEST(std_test, path) {
EXPECT_EQ(fmt::format("{:8}", std::filesystem::path("foo")), "foo ");
#endif
}
TEST(std_test, thread_id) {
EXPECT_FALSE(fmt::format("{}", std::this_thread::get_id()).empty());
}