More tests

This commit is contained in:
Victor Zverovich 2017-11-12 10:03:39 -08:00
parent 7967c2f874
commit dfdb1adea5

View File

@ -1870,4 +1870,6 @@ TEST(FormatTest, FormatStringErrors) {
#endif
EXPECT_ERROR("{foo", "missing '}' in format string", int);
EXPECT_ERROR("{10000000000}", "number is too big");
EXPECT_ERROR("{0x}", "invalid format string");
EXPECT_ERROR("{-}", "invalid format string");
}