Let custom matcher provide clear failure messages

This commit is contained in:
2026-09-03 14:06:24 +01:00
parent c6c5829748
commit 4c0f1dd541
4 changed files with 43 additions and 17 deletions
@@ -18,7 +18,7 @@ public class OrderTotalTests
Assert.That(order, Has.OrderState(
expectedTotal: 210m,
expectedLineValues: new[] { 160m, 50m }));
expectedLineValues: [160m, 50m]));
}
[Test]