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 2, 2018
1 parent fd3215f commit 3678ce3
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 @@ -2,9 +2,11 @@

* Fix unlimited short options eating two values before checking for positionals when no space present [#90]
* Symmetric exclude text when excluding options, exclude can be called multiple times [#64]
* 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


## Version 1.4: More feedback
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 3678ce3

Please sign in to comment.