From 281e9f274cfb0b01420590282de8623c7837cc0b Mon Sep 17 00:00:00 2001 From: "Taylor C. Richberger" Date: Mon, 9 Jan 2023 12:20:25 -0700 Subject: [PATCH] fix test case for command line help --- test.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.cxx b/test.cxx index c5b3e48..4625490 100644 --- a/test.cxx +++ b/test.cxx @@ -1007,8 +1007,8 @@ TEST_CASE("GetProgramLine works as expected", "[args]") }; REQUIRE(line(p) == "COMMAND {OPTIONS}"); - REQUIRE(line(a) == "a positional {OPTIONS}"); - REQUIRE(line(b) == "b [positional] {OPTIONS}"); + REQUIRE(line(a) == "a {OPTIONS} positional"); + REQUIRE(line(b) == "b {OPTIONS} [positional]"); p.helpParams.proglineShowFlags = true; REQUIRE(line(p) == "COMMAND [-g]");