adding last test branch
This commit is contained in:
parent
af221bd94f
commit
455c254462
1 changed files with 3 additions and 0 deletions
|
|
@ -224,5 +224,8 @@ TEST(ArgParserTests, parseToolArgs_matches_correspondingly)
|
||||||
EXPECT_TRUE(parser.parseToolArgs(toolArgs, 2, twoArgs));
|
EXPECT_TRUE(parser.parseToolArgs(toolArgs, 2, twoArgs));
|
||||||
EXPECT_TRUE(test.second(toolArgs));
|
EXPECT_TRUE(test.second(toolArgs));
|
||||||
}
|
}
|
||||||
|
ToolArgs toolArgs;
|
||||||
|
const char *twoArgs[2] {"syntool", "--garbage"};
|
||||||
|
EXPECT_FALSE(parser.parseToolArgs(toolArgs, 2, twoArgs));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue