Closed
Description
This test
[Test] public void Test() { Assert.Multiple(() => Warn.If(true)); }
gives this result: System.Exception : Warn.If may not be used in a multiple assertion block.
But the documentation of Multiple Asserts says:
- Use of Warnings (Assert.Warn, Warn.If, Warn.Unless) is permitted inside a multiple assert block. Warnings are reported normally along with any failures that occur inside the block.
So either the documentaion is worng or there is a worng check in the code.