From 6ada775327a103fb5c588f1cc4aa567d9c851cf6 Mon Sep 17 00:00:00 2001 From: Jose Mendoza <56417208+StunxFS@users.noreply.github.com> Date: Fri, 10 Nov 2023 08:14:23 -0400 Subject: [PATCH] update test_runner.ri --- lib/core/src/test_runner.ri | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/core/src/test_runner.ri b/lib/core/src/test_runner.ri index 9b20385ff..935048390 100644 --- a/lib/core/src/test_runner.ri +++ b/lib/core/src/test_runner.ri @@ -1,4 +1,4 @@ -// Copyright (C) 2023 The Rivet Developers. All rights reserved. +no// Copyright (C) 2023 The Rivet Developers. All rights reserved. // Use of this source code is governed by an MIT license that can // be found in the LICENSE file. @@ -93,9 +93,10 @@ public struct TestRunner { } } self.print_summary_tests(); - //if self.fail_tests > 0 { - process_exit(1); - //} + if self.fail_tests > 0 { + console_writeln("exit?"); + process_panic("panic!"); + } } func print_summary_tests(&self) {