Fix clang warning

This commit is contained in:
Victor Zverovich committed 2016-06-14 15:42:32 -07:00
1 parent b26e76efe9
commit c9bb5468b6
2 files changed
+3 -2

No files matched your search

+1 -1
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");
}