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