diff --git a/tests/src/com/unciv/testing/BasicTests.kt b/tests/src/com/unciv/testing/BasicTests.kt index 06ab27ac7c..a5761c0a52 100644 --- a/tests/src/com/unciv/testing/BasicTests.kt +++ b/tests/src/com/unciv/testing/BasicTests.kt @@ -37,7 +37,9 @@ class BasicTests { fun gameIsNotRunWithDebugModes() { val game = UncivGame("", null) Assert.assertTrue("This test will only pass if the game is not run with debug modes", - !game.superchargedForDebug && !game.viewEntireMapForDebug) + !game.superchargedForDebug + && !game.viewEntireMapForDebug + && !game.rewriteTranslationFiles) } // If there's a unit that obsoletes with no upgrade then when it obsoletes