Fixed tests

This commit is contained in:
Yair Morgenstern
2023-12-31 22:59:33 +02:00
parent ac82d8bcb4
commit 35c19bf9de
3 changed files with 5 additions and 5 deletions

View File

@ -41,7 +41,7 @@ class BasicTests {
@Test
fun gamePngExists() {
Assert.assertTrue("This test will only pass when the game.png exists",
Gdx.files.local("game.png").exists())
Gdx.files.local("").list().any { it.name().endsWith(".png") })
}
@Test