From 279e2682790eb1d5472f3001fe950a3d15111035 Mon Sep 17 00:00:00 2001 From: Ivan Bondarev Date: Thu, 27 Nov 2025 19:35:58 +0100 Subject: [PATCH] fix --- CodeCompletion/Testing.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CodeCompletion/Testing.cs b/CodeCompletion/Testing.cs index 114491b69..f75dc82e3 100644 --- a/CodeCompletion/Testing.cs +++ b/CodeCompletion/Testing.cs @@ -292,7 +292,8 @@ namespace CodeCompletion else System.Diagnostics.Debug.Assert(cond); #else - throw new Exception(cond + " " + message); + if (!cond) + throw new Exception(message); /*if (message != null) System.Diagnostics.Trace.Assert(cond, message); else