Cleanup vprintf

This commit is contained in:
Victor Zverovich
2023-01-02 08:20:49 -08:00
parent aad546baa5
commit 71e4e02722
2 changed files with 73 additions and 41 deletions
+1 -4
View File
@@ -405,10 +405,7 @@ TEST(printf_test, length) {
EXPECT_PRINTF(fmt::format("{:.6}", max), "%Lg", max);
}
TEST(printf_test, bool) {
EXPECT_PRINTF("1", "%d", true);
EXPECT_PRINTF("true", "%s", true);
}
TEST(printf_test, bool) { EXPECT_PRINTF("1", "%d", true); }
TEST(printf_test, int) {
EXPECT_PRINTF("-42", "%d", -42);