Skip to content

Commit

Permalink
Adding info to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Apr 4, 2018
1 parent 0c3df91 commit 9a1ac48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ Other, non-user facing changes:
* Informational printout now added to CTest [#95]
* Better single file generation [#95]
* Added support for GTest on MSVC 2017 (but not in C++17 mode, will need next version of GTest)
* Types now have a specific size, separate from the expected number - cleaner and more powerful internally [#92]

[#64]: https://github.com/CLIUtils/CLI11/issues/64
[#90]: https://github.com/CLIUtils/CLI11/issues/90
[#92]: https://github.com/CLIUtils/CLI11/issues/92
[#95]: https://github.com/CLIUtils/CLI11/pull/95


Expand Down
10 changes: 5 additions & 5 deletions tests/AppTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,16 +358,16 @@ TEST_F(TApp, NoMissingValueMoreThan) {
std::vector<int> vals2;
app.add_option("-v", vals1)->expected(-2);
app.add_option("--vals", vals2)->expected(-2);

args = {"-v", "2", "3", "4"};
run();
EXPECT_EQ(vals1, std::vector<int>({2,3,4}));
EXPECT_EQ(vals1, std::vector<int>({2, 3, 4}));

app.reset();

args = {"--vals", "2", "3", "4"};
run();
EXPECT_EQ(vals2, std::vector<int>({2,3,4}));
EXPECT_EQ(vals2, std::vector<int>({2, 3, 4}));
}

TEST_F(TApp, NotRequiredOptsSingle) {
Expand Down

0 comments on commit 9a1ac48

Please sign in to comment.