Added a test to make sure that the base ruleset doesn't have any obvious bugs, so I don't shoot myself in the foot again

This commit is contained in:
Yair Morgenstern 2020-12-08 21:34:00 +02:00
parent 570656929d
commit f57955c8d5

View File

@ -77,6 +77,14 @@ class BasicTests {
UncivGame.Current.settings = GameSettings().apply { language = "Italian" }
}
@Test
fun baseRulesetHasNoBugs() {
ruleset.modOptions.isBaseRuleset=true
val modCheck = ruleset.checkModLinks()
if(modCheck!="") println(modCheck)
Assert.assertTrue(modCheck == "")
}
// @Test // This should NOT run as part of the test suite!
// fun tryGetGithubTopicInfo(){