Skip to content

Commit

Permalink
fix PR comment: inline out vars
Browse files Browse the repository at this point in the history
  • Loading branch information
szaliszali committed Jan 9, 2020
1 parent 18241d5 commit e897624
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -736,21 +736,14 @@ public void PreprocessSwitchIdentificationTests()
[InlineData("ts")]
public void TargetsSwitchIdentificationTests(string @switch)
{
CommandLineSwitches.ParameterizedSwitch parameterizedSwitch;
string duplicateSwitchErrorMessage;
bool multipleParametersAllowed;
string missingParametersErrorMessage;
bool unquoteParameters;
bool emptyParametersAllowed;

Assert.True(CommandLineSwitches.IsParameterizedSwitch(
@switch,
out parameterizedSwitch,
out duplicateSwitchErrorMessage,
out multipleParametersAllowed,
out missingParametersErrorMessage,
out unquoteParameters,
out emptyParametersAllowed));
out var parameterizedSwitch,
out var duplicateSwitchErrorMessage,
out var multipleParametersAllowed,
out var missingParametersErrorMessage,
out var unquoteParameters,
out var emptyParametersAllowed));
Assert.Equal(CommandLineSwitches.ParameterizedSwitch.Targets, parameterizedSwitch);
Assert.Null(duplicateSwitchErrorMessage);
Assert.False(multipleParametersAllowed);
Expand Down

0 comments on commit e897624

Please sign in to comment.