From 97b6265ceef94caa1d73cb5305d74b11043cf510 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 6 Dec 2017 14:59:28 -0500 Subject: [PATCH] Dropping check for size in test (not needed anymore) --- tests/NewParseTest.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/NewParseTest.cpp b/tests/NewParseTest.cpp index 02d3d3f3..5c38870f 100644 --- a/tests/NewParseTest.cpp +++ b/tests/NewParseTest.cpp @@ -9,8 +9,6 @@ using cx = std::complex; CLI::Option * add_option(CLI::App &app, std::string name, cx &variable, std::string description = "", bool defaulted = false) { CLI::callback_t fun = [&variable](CLI::results_t res) { - if(res.size() != 2) - return false; double x, y; bool worked = CLI::detail::lexical_cast(res[0], x) && CLI::detail::lexical_cast(res[1], y); if(worked)