chore: Add DoesNotReturnIf(false) attr to unit test Assert condition

This commit is contained in:
John Colvin committed 2025-11-19 14:44:53 -05:00
1 parent 0d33b19a39
commit af248ddd69
1 file changed
+1 -1
@@ -196,7 +196,7 @@ namespace mbts.utils {
}
public static class InvalidOperation {
public static void That(bool condition, string message) {
public static void That([DoesNotReturnIf(false)]bool condition, string message) {
if (!condition)
throw new InvalidOperationException(message);
}