Re-show redundant tech prereq mod errors without impeding playability (#4046)

* Re-show redundant tech prereq mod errors without impeding playability

* Re-enable playability of mods with less severe errors - fun version
This commit is contained in:
SomeTroglodyte
2021-06-08 05:44:25 +02:00
committed by GitHub
parent 0b696451ce
commit 21aa371cc3
4 changed files with 50 additions and 20 deletions

View File

@ -81,8 +81,8 @@ class BasicTests {
fun baseRulesetHasNoBugs() {
ruleset.modOptions.isBaseRuleset=true
val modCheck = ruleset.checkModLinks()
if(modCheck!="") println(modCheck)
Assert.assertTrue(modCheck == "")
if(modCheck.isNotOK()) println(modCheck)
Assert.assertFalse(modCheck.isNotOK())
}
}