Improve handling of signed types

This commit is contained in:
Victor Zverovich
2022-12-30 10:31:39 -08:00
parent 32190859ec
commit ffb9b1d13c
6 changed files with 69 additions and 57 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ TEST(printf_test, width) {
// Width cannot be specified twice.
EXPECT_THROW_MSG(test_sprintf("%5-5d", 42), format_error,
"invalid type specifier");
"invalid format specifier");
EXPECT_THROW_MSG(test_sprintf(format("%{}d", big_num), 42), format_error,
"number is too big");