1
0
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:
Henry Fredrick Schreiner 2017-03-15 10:03:26 -04:00
parent dbe03bea95
commit c4d0fc1a07

View File

@ -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);
}