Skip to content

Commit

Permalink
Added a dash-dash complete test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mridgers committed May 30, 2018
1 parent acadde8 commit 2ba7236
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions clink/lua/test/args.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,13 @@ TEST_CASE("Lua arg parsers.")
tester.run();
}

SECTION("Dash 3")
{
tester.set_input("argcmd_flags_d -twe" DO_COMPLETE);
tester.set_expected_output("argcmd_flags_d -twenty ");
tester.run();
}

SECTION("No prefix 1")
{
tester.set_input("argcmd_flags_x ");
Expand Down

0 comments on commit 2ba7236

Please sign in to comment.