mirror of
https://github.com/CLIUtils/CLI11.git
synced 2026-01-19 04:52:08 +00:00
@@ -2138,6 +2138,6 @@ TEST_CASE_METHOD(TApp, "subcommandEnvironmentName", "[subcom]") {
|
||||
CHECK_NOTHROW(run());
|
||||
|
||||
args = {"sub1", "-v", "111"};
|
||||
CHECK_THROWS_AS(run(), CLI::ValidationError);
|
||||
CHECK_THROWS_AS(run(), CLI::RequiredError);
|
||||
unset_env("SOME_FILE");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user