mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-01 13:13:53 +00:00
Actually test subcom with subcom test
This commit is contained in:
parent
c50dd580bd
commit
03307dcb0b
@ -808,5 +808,5 @@ TEST_F(TApp, CheckLongFail) {
|
||||
TEST_F(TApp, CheckSubcomFail) {
|
||||
args = {"subcom"};
|
||||
|
||||
EXPECT_THROW(CLI::detail::AppFriend::parse_long(&app, args), CLI::HorribleError);
|
||||
EXPECT_THROW(CLI::detail::AppFriend::parse_subcommand(&app, args), CLI::HorribleError);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user