Commit 2d8d659ab146eb86df2fef7322c13c7b3a86e43b

Authored by Henry Fredrick Schreiner
Committed by Henry Schreiner
1 parent 1c7f8295

Increasing test coverage

Showing 1 changed file with 2 additions and 0 deletions
tests/HelpTest.cpp
... ... @@ -383,4 +383,6 @@ TEST(Exit, ExitCodes) {
383 383 EXPECT_EQ(0, app.exit(CLI::Success()));
384 384 EXPECT_EQ(0, app.exit(CLI::CallForHelp()));
385 385 EXPECT_EQ(i, app.exit(CLI::ExtrasError("Thing")));
  386 + EXPECT_EQ(42, app.exit(CLI::RuntimeError(42)));
  387 + EXPECT_EQ(1, app.exit(CLI::RuntimeError())); // Not sure if a default here is a good thing
386 388 }
... ...