mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-02 15:11:43 +01:00
Fix compile-time parsing and add more tests
This commit is contained in:
@@ -1858,4 +1858,6 @@ TEST(FormatTest, FormatStringErrors) {
|
||||
EXPECT_ERROR("foo", nullptr);
|
||||
EXPECT_ERROR("}", "unmatched '}' in format string");
|
||||
EXPECT_ERROR("{0:s", "unknown format specifier", Date);
|
||||
EXPECT_ERROR("{0:=5", "unknown format specifier", char);
|
||||
EXPECT_ERROR("{foo", "missing '}' in format string", int);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user