Skip to content

Commit

Permalink
fix test case for command line help
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor C. Richberger committed Jan 9, 2023
1 parent 3ec4b25 commit 281e9f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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]");
Expand Down

0 comments on commit 281e9f2

Please sign in to comment.