From c4d0fc1a0754522fdd5d09c5aced429413d37dbd Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Wed, 15 Mar 2017 10:03:26 -0400 Subject: [PATCH] Testing short vect too --- tests/AppTest.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/AppTest.cpp b/tests/AppTest.cpp index e4e822d3..bc50beb9 100644 --- a/tests/AppTest.cpp +++ b/tests/AppTest.cpp @@ -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); }