From a7075707fe2fdd38894ba741c8c488fe89d29b0a Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sun, 13 Feb 2022 07:41:54 -0500 Subject: [PATCH] Made Test.Assert cause fatal error when not in test --- BeefRT/rt/Internal.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BeefRT/rt/Internal.cpp b/BeefRT/rt/Internal.cpp index 9f8e01bc..5a92f72d 100644 --- a/BeefRT/rt/Internal.cpp +++ b/BeefRT/rt/Internal.cpp @@ -690,6 +690,8 @@ void Internal::Test_Error(char* error) str += "\n"; TestString(str); } + else + Internal_FatalError(error); } void Internal::Test_Write(char* strPtr)