Use error handler to report errors

This commit is contained in:
Victor Zverovich
2017-11-19 07:36:01 -08:00
parent 5a32e64b05
commit c523dd584f
4 changed files with 14 additions and 28 deletions
+3
View File
@@ -1906,4 +1906,7 @@ TEST(FormatTest, FormatStringErrors) {
EXPECT_ERROR("{1}{}",
"cannot switch from manual to automatic argument indexing",
int, int);
EXPECT_ERROR("{}{1}",
"cannot switch from automatic to manual argument indexing",
int, int);
}