Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
Co-authored-by: Jon Sequeira <[email protected]>
  • Loading branch information
adamsitnik and jonsequitur authored Jan 20, 2023
commit 3f12d0e4fa5923811c860956564c153f421ad3bf
4 changes: 2 additions & 2 deletions src/System.CommandLine.Tests/ParsingValidationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ public void When_FromAmong_is_used_and_multiple_invalid_inputs_are_provided_the_
option.Arity = new ArgumentArity(1, 4);
option.AllowMultipleArgumentsPerToken = true;

var command = new Command("--list")
var command = new Command("list")
{
option
};

var result = command.Parse("--list --columns c1 c2");
var result = command.Parse("list --columns c1 c2");

// Currently there is no possibility for a single validator to produce multiple errors,
// so only the first one is checked.
Expand Down