Fix clang warning

This commit is contained in:
Victor Zverovich
2016-06-14 15:42:32 -07:00
parent b26e76efe9
commit c9bb5468b6
2 changed files with 3 additions and 2 deletions

View File

@@ -708,7 +708,7 @@ TEST(ArgVisitorTest, VisitUnhandledArg) {
TEST(ArgVisitorTest, VisitInvalidArg) {
Arg arg = Arg();
arg.type = static_cast<Arg::Type>(Arg::CUSTOM + 1);
arg.type = static_cast<Arg::Type>(Arg::NONE);
EXPECT_ASSERT(TestVisitor().visit(arg), "invalid argument type");
}