mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-01 05:03:52 +00:00
Adding info to changelog
This commit is contained in:
parent
0c3df9150c
commit
9a1ac48a67
@ -18,9 +18,11 @@ Other, non-user facing changes:
|
|||||||
* Informational printout now added to CTest [#95]
|
* Informational printout now added to CTest [#95]
|
||||||
* Better single file generation [#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)
|
* 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
|
[#64]: https://github.com/CLIUtils/CLI11/issues/64
|
||||||
[#90]: https://github.com/CLIUtils/CLI11/issues/90
|
[#90]: https://github.com/CLIUtils/CLI11/issues/90
|
||||||
|
[#92]: https://github.com/CLIUtils/CLI11/issues/92
|
||||||
[#95]: https://github.com/CLIUtils/CLI11/pull/95
|
[#95]: https://github.com/CLIUtils/CLI11/pull/95
|
||||||
|
|
||||||
|
|
||||||
|
@ -358,16 +358,16 @@ TEST_F(TApp, NoMissingValueMoreThan) {
|
|||||||
std::vector<int> vals2;
|
std::vector<int> vals2;
|
||||||
app.add_option("-v", vals1)->expected(-2);
|
app.add_option("-v", vals1)->expected(-2);
|
||||||
app.add_option("--vals", vals2)->expected(-2);
|
app.add_option("--vals", vals2)->expected(-2);
|
||||||
|
|
||||||
args = {"-v", "2", "3", "4"};
|
args = {"-v", "2", "3", "4"};
|
||||||
run();
|
run();
|
||||||
EXPECT_EQ(vals1, std::vector<int>({2,3,4}));
|
EXPECT_EQ(vals1, std::vector<int>({2, 3, 4}));
|
||||||
|
|
||||||
app.reset();
|
app.reset();
|
||||||
|
|
||||||
args = {"--vals", "2", "3", "4"};
|
args = {"--vals", "2", "3", "4"};
|
||||||
run();
|
run();
|
||||||
EXPECT_EQ(vals2, std::vector<int>({2,3,4}));
|
EXPECT_EQ(vals2, std::vector<int>({2, 3, 4}));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(TApp, NotRequiredOptsSingle) {
|
TEST_F(TApp, NotRequiredOptsSingle) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user