Skip to content

Commit

Permalink
Removed superfluous test code
Browse files Browse the repository at this point in the history
  • Loading branch information
tyb-dev authored May 4, 2023
1 parent 1787a71 commit 18933c9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions source/Nuke.Build.Tests/DelegateRequirementServiceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ public void TestPassingValidation()

// must not throw
DelegateRequirementService.ValidateRequirements(build, targets);

EnvironmentInfo.SetVariable("StringParameter", "");
targets = ExecutableTargetFactory.CreateAll(build, x => ((IStringParameterInterface)x).PassingRequirement);

// must not throw
DelegateRequirementService.ValidateRequirements(build, targets);
}

[Fact]
Expand Down

0 comments on commit 18933c9

Please sign in to comment.