mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Test error on invalid type spec and remove unused alias
This commit is contained in:
parent
692b82d32c
commit
e7e270f511
@ -3773,8 +3773,6 @@ struct formatter<
|
||||
}
|
||||
|
||||
private:
|
||||
using arg_ref = internal::arg_ref<Char>;
|
||||
|
||||
internal::dynamic_format_specs<Char> specs_;
|
||||
};
|
||||
|
||||
|
@ -1909,4 +1909,5 @@ TEST(FormatTest, FormatStringErrors) {
|
||||
EXPECT_ERROR("{}{1}",
|
||||
"cannot switch from automatic to manual argument indexing",
|
||||
int, int);
|
||||
EXPECT_ERROR("{:s}", "invalid type specifier", int);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user