Skip to content

Commit

Permalink
Fix yet another internal compiler error in MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Nov 19, 2017
1 parent 44e1865 commit 3851994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/format-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1891,6 +1891,7 @@ TEST(FormatTest, FormatStringErrors) {
EXPECT_ERROR("{:-}", "format specifier requires signed argument", unsigned);
EXPECT_ERROR("{: }", "format specifier requires signed argument", unsigned);
EXPECT_ERROR("{:.2}", "precision not allowed for this argument type", int);
EXPECT_ERROR("{:s}", "invalid type specifier", int);
#endif
EXPECT_ERROR("{foo", "missing '}' in format string", int);
EXPECT_ERROR("{10000000000}", "number is too big");
Expand All @@ -1909,5 +1910,4 @@ TEST(FormatTest, FormatStringErrors) {
EXPECT_ERROR("{}{1}",
"cannot switch from automatic to manual argument indexing",
int, int);
EXPECT_ERROR("{:s}", "invalid type specifier", int);
}

0 comments on commit 3851994

Please sign in to comment.