mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-30 20:53:52 +00:00
Testing short vect too
This commit is contained in:
parent
dbe03bea95
commit
c4d0fc1a07
@ -487,6 +487,12 @@ TEST_F(TApp, VectorUnlimString) {
|
||||
run();
|
||||
EXPECT_EQ(3, app.count("--string"));
|
||||
EXPECT_EQ(answer, strvec);
|
||||
|
||||
app.reset();
|
||||
args = {"-s", "mystring", "mystring2", "mystring3"};
|
||||
run();
|
||||
EXPECT_EQ(3, app.count("--string"));
|
||||
EXPECT_EQ(answer, strvec);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user