Fix clang warning

(cherry picked from commit c9bb5468b6)
This commit is contained in:
Victor Zverovich authored and Jonathan Müller committed 2016-10-23 11:49:54 +02:00
1 parent df05947b8a
commit 92d3f31df5
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");
}