From af248ddd69b22c948c8c9a430cb583fbef890ebf Mon Sep 17 00:00:00 2001 From: John Colvin Date: Fri, 24 Oct 2025 02:49:58 -0400 Subject: [PATCH] chore: Add DoesNotReturnIf(false) attr to unit test Assert condition --- src/client/spark_core/utils/Exceptions/ExceptionAssert.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/spark_core/utils/Exceptions/ExceptionAssert.cs b/src/client/spark_core/utils/Exceptions/ExceptionAssert.cs index 2f9118477..2172f5077 100644 --- a/src/client/spark_core/utils/Exceptions/ExceptionAssert.cs +++ b/src/client/spark_core/utils/Exceptions/ExceptionAssert.cs @@ -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); }