mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-13 00:04:38 +07:00
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:
parent
570656929d
commit
f57955c8d5
@ -77,6 +77,14 @@ class BasicTests {
|
|||||||
UncivGame.Current.settings = GameSettings().apply { language = "Italian" }
|
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!
|
// @Test // This should NOT run as part of the test suite!
|
||||||
// fun tryGetGithubTopicInfo(){
|
// fun tryGetGithubTopicInfo(){
|
||||||
|
Loading…
Reference in New Issue
Block a user