1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-29 20:23:55 +00:00

Increasing test coverage

This commit is contained in:
Henry Fredrick Schreiner 2017-11-20 16:44:44 -05:00 committed by Henry Schreiner
parent 1c7f829514
commit 2d8d659ab1

View File

@ -383,4 +383,6 @@ TEST(Exit, ExitCodes) {
EXPECT_EQ(0, app.exit(CLI::Success()));
EXPECT_EQ(0, app.exit(CLI::CallForHelp()));
EXPECT_EQ(i, app.exit(CLI::ExtrasError("Thing")));
EXPECT_EQ(42, app.exit(CLI::RuntimeError(42)));
EXPECT_EQ(1, app.exit(CLI::RuntimeError())); // Not sure if a default here is a good thing
}