refactor: NCS-22 NCS-23 reworked modules and tests #17
+1
@@ -52,6 +52,7 @@ class GameEngineCoverageRegressionTest extends AnyFunSuite with Matchers:
|
||||
} shouldBe true
|
||||
|
||||
test("loadGame returns Left when importer fails"):
|
||||
|
||||
val engine = new GameEngine()
|
||||
val failingImporter = new GameContextImport:
|
||||
def importGameContext(input: String): Either[String, GameContext] = Left("boom")
|
||||
|
||||
Reference in New Issue
Block a user