Commit 03307dcb0b77a3b399dc96518d8361afaef019d4
1 parent
c50dd580
Actually test subcom with subcom test
Showing
1 changed file
with
1 additions
and
1 deletions
tests/AppTest.cpp
| ... | ... | @@ -808,5 +808,5 @@ TEST_F(TApp, CheckLongFail) { |
| 808 | 808 | TEST_F(TApp, CheckSubcomFail) { |
| 809 | 809 | args = {"subcom"}; |
| 810 | 810 | |
| 811 | - EXPECT_THROW(CLI::detail::AppFriend::parse_long(&app, args), CLI::HorribleError); | |
| 811 | + EXPECT_THROW(CLI::detail::AppFriend::parse_subcommand(&app, args), CLI::HorribleError); | |
| 812 | 812 | } | ... | ... |