Commit e7e270f5 authored by Victor Zverovich's avatar Victor Zverovich

Test error on invalid type spec and remove unused alias

parent 692b82d3
...@@ -3773,8 +3773,6 @@ struct formatter< ...@@ -3773,8 +3773,6 @@ struct formatter<
} }
private: private:
using arg_ref = internal::arg_ref<Char>;
internal::dynamic_format_specs<Char> specs_; internal::dynamic_format_specs<Char> specs_;
}; };
......
...@@ -1909,4 +1909,5 @@ TEST(FormatTest, FormatStringErrors) { ...@@ -1909,4 +1909,5 @@ TEST(FormatTest, FormatStringErrors) {
EXPECT_ERROR("{}{1}", EXPECT_ERROR("{}{1}",
"cannot switch from automatic to manual argument indexing", "cannot switch from automatic to manual argument indexing",
int, int); int, int);
EXPECT_ERROR("{:s}", "invalid type specifier", int);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment