From 03307dcb0b77a3b399dc96518d8361afaef019d4 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Fri, 17 Mar 2017 13:48:01 -0400 Subject: [PATCH] Actually test subcom with subcom test --- tests/AppTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/AppTest.cpp b/tests/AppTest.cpp index ec01a987..399543f3 100644 --- a/tests/AppTest.cpp +++ b/tests/AppTest.cpp @@ -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); }