1
0
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:
Henry Fredrick Schreiner 2017-03-17 13:48:01 -04:00
parent c50dd580bd
commit 03307dcb0b

View File

@ -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);
}