Skip to content

Commit

Permalink
fix PR comment: use Shouldly
Browse files Browse the repository at this point in the history
  • Loading branch information
szaliszali committed Jan 9, 2020
1 parent e897624 commit 85b4fe8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/MSBuild.UnitTests/CommandLineSwitches_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -736,19 +736,19 @@ public void PreprocessSwitchIdentificationTests()
[InlineData("ts")]
public void TargetsSwitchIdentificationTests(string @switch)
{
Assert.True(CommandLineSwitches.IsParameterizedSwitch(
CommandLineSwitches.IsParameterizedSwitch(
@switch,
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);
Assert.Null(missingParametersErrorMessage);
Assert.True(unquoteParameters);
out var emptyParametersAllowed).ShouldBeTrue();
parameterizedSwitch.ShouldBe(CommandLineSwitches.ParameterizedSwitch.Targets);
duplicateSwitchErrorMessage.ShouldBeNull();
multipleParametersAllowed.ShouldBeFalse();
missingParametersErrorMessage.ShouldBeNull();
unquoteParameters.ShouldBeTrue();
}

[Fact]
Expand Down

0 comments on commit 85b4fe8

Please sign in to comment.