Skip to content

Commit

Permalink
Fixes unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hobnob committed Nov 7, 2024
1 parent 61198b5 commit 743aadf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ class InputFieldTests extends munit.FunSuite {
new InputState(Mouse.default, new Keyboard(keysUp, Batch.empty, None), Gamepad.default, Pointers.default),
new BoundaryLocator(new AnimationsRegister, new FontRegister, new DynamicText),
(),
Renderer.blackHole
Renderer.blackHole.captureScreen
)

object Samples {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ object FakeFrameContext {
InputState.default,
new BoundaryLocator(new AnimationsRegister, new FontRegister, new DynamicText),
(),
Renderer.blackHole
Renderer.blackHole.captureScreen
)

def context(sides: Int, time: Seconds): FrameContext[Unit] =
Expand All @@ -30,7 +30,7 @@ object FakeFrameContext {
InputState.default,
new BoundaryLocator(new AnimationsRegister, new FontRegister, new DynamicText),
(),
Renderer.blackHole
Renderer.blackHole.captureScreen
)

def context(sides: Int, time: Seconds, delta: Seconds): FrameContext[Unit] =
Expand All @@ -40,7 +40,7 @@ object FakeFrameContext {
InputState.default,
new BoundaryLocator(new AnimationsRegister, new FontRegister, new DynamicText),
(),
Renderer.blackHole
Renderer.blackHole.captureScreen
)

}

0 comments on commit 743aadf

Please sign in to comment.