From 4cd832fc4deeabd07a652eed36b0802f70245272 Mon Sep 17 00:00:00 2001 From: Jonathing Date: Tue, 4 Mar 2025 16:53:12 -0500 Subject: [PATCH] Fix ForgeDev's test runs not working due to dead test mod (#10483) --- .../debug/ConstructorThrowTest.java | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/test/java/net/minecraftforge/debug/ConstructorThrowTest.java b/src/test/java/net/minecraftforge/debug/ConstructorThrowTest.java index b3cd624923..79400df0ad 100644 --- a/src/test/java/net/minecraftforge/debug/ConstructorThrowTest.java +++ b/src/test/java/net/minecraftforge/debug/ConstructorThrowTest.java @@ -3,17 +3,17 @@ * SPDX-License-Identifier: LGPL-2.1-only */ -package net.minecraftforge.debug; - -import net.minecraftforge.fml.common.Mod; - -/** - * Test that the mod loading error screen shows the cause of the crash when a mod constructor throws an exception. - *

Enable or disable this test in the mods.toml

- */ -@Mod("constructor_throw_test") -public class ConstructorThrowTest { - public ConstructorThrowTest() { - throw new RuntimeException("Test"); - } -} +//package net.minecraftforge.debug; +// +//import net.minecraftforge.fml.common.Mod; +// +///** +// * Test that the mod loading error screen shows the cause of the crash when a mod constructor throws an exception. +// *

Enable or disable this test in the mods.toml

+// */ +//@Mod("constructor_throw_test") +//public class ConstructorThrowTest { +// public ConstructorThrowTest() { +// throw new RuntimeException("Test"); +// } +//}