Skip to content
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: David Cantú <[email protected]>
  • Loading branch information
adamsitnik and jozkee authored Dec 15, 2022
commit f2d5d2fbef7570f9822255b22527e3f889cb6576
6 changes: 3 additions & 3 deletions src/System.CommandLine.Tests/CompletionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -972,9 +972,9 @@ private static Argument<string> CreateArgumentWithAcceptOnlyFromAmong(params str

private static Option<string> CreateOptionWithAcceptOnlyFromAmong(string name, params string[] values)
{
Option<string> argument = new(name);
argument.AcceptOnlyFromAmong(values);
return argument;
Option<string> option = new(name);
option.AcceptOnlyFromAmong(values);
return option;
}
}
}