mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-30 14:48:56 +07:00
Fix tests
This commit is contained in:
@ -91,13 +91,15 @@ class BasicTests {
|
||||
|
||||
@Test
|
||||
fun baseRulesetHasNoBugs() {
|
||||
var hasFailed = false
|
||||
for (baseRuleset in BaseRuleset.entries) {
|
||||
val ruleset = RulesetCache[baseRuleset.fullName]!!
|
||||
val modCheck = ruleset.getErrorList()
|
||||
if (modCheck.isNotOK())
|
||||
debug("%s", modCheck.getErrorText(true))
|
||||
Assert.assertFalse(modCheck.isNotOK())
|
||||
hasFailed = hasFailed || modCheck.isNotOK()
|
||||
}
|
||||
Assert.assertFalse(hasFailed)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user