Skip to content

Commit a55c762

Browse files
committed
Minor test cleanup for Inconclusive assertion
1 parent 784f126 commit a55c762

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/UnitTests/TestFramework.UnitTests/Assertions/AssertTests.InconclusiveTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ public void InconclusiveDoesNotThrowWhenMessageContainsInvalidStringFormatCompos
1212
{
1313
Action action = () => Assert.Inconclusive("{");
1414
action.Should().Throw<AssertInconclusiveException>()
15-
.And.Message.Should().Contain("Assert.Inconclusive failed. {");
15+
.WithMessage("Assert.Inconclusive failed. {");
1616
}
1717
}

0 commit comments

Comments
 (0)