mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-29 12:13:52 +00:00
Increasing test coverage
This commit is contained in:
parent
1c7f829514
commit
2d8d659ab1
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user