Skip to content

Commit 08938ce

Browse files
chore: Tidy ups 02
1 parent 214ac4b commit 08938ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/scala-2.11/nl/amsscala/simplegame/GameSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class GameSuite extends SuiteSpec {
3636
canvas.width = 1242 // 1366
3737
canvas.height = 674 // 768
3838

39-
val game = new GameState(canvas, -1).copy(monster = Monster(0, 0)) // Keep the monster out of site
39+
val game = new GameState(canvas, -1, false).copy(monster = Monster(0, 0)) // Keep the monster out of site
4040

4141
it("good path") {
4242
// No keys, no movement
@@ -87,7 +87,7 @@ class GameSuite extends SuiteSpec {
8787

8888
println(games.mkString("\n"))
8989

90-
val gs = new GameState(canvas, -1)
90+
val gs = new GameState(canvas, -1, false)
9191
canvas.setAttribute("crossOrigin", "anonymous")
9292
val ctx = canvas.getContext("2d").asInstanceOf[dom.CanvasRenderingContext2D]
9393

src/test/scala-2.11/nl/amsscala/simplegame/SuiteSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ package simplegame
33

44
import org.scalatest._
55

6-
abstract class SuiteSpec extends FunSpec with Matchers// with OptionValues with Inside with Inspectors
6+
abstract class SuiteSpec extends FunSpec with Matchers // with OptionValues with Inside with Inspectors

0 commit comments

Comments
 (0)