Skip to content

Commit d4fc907

Browse files
authored
Don't fail tests intentionally
1 parent 477d0ba commit d4fc907

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Tests/ArgumentForwarding.Tests/ArgumentForwardingTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void TestArgumentForwardingCmdFailsWithUnbalancedQuote(string testArgStri
143143
// Escape and Re-Evaluate the rawEvaluatedArgument
144144
var escapedEvaluatedRawArgument = EscapeAndEvaluateArgumentStringCmd(rawEvaluatedArgument);
145145

146-
rawEvaluatedArgument.Length.Should().Be(escapedEvaluatedRawArgument.Length);
146+
rawEvaluatedArgument.Length.Should().NotBe(escapedEvaluatedRawArgument.Length);
147147
}
148148

149149
/// <summary>

src/Tests/Microsoft.NET.Build.Tests/DesignTimeBuildTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void The_design_time_build_succeeds_before_nuget_restore(string relativeP
4545
command.WorkingDirectory = projectDirectory;
4646
var result = command.Execute(args);
4747

48-
result.Should().Fail();
48+
result.Should().Pass();
4949
}
5050

5151
[Fact]

0 commit comments

Comments
 (0)