From 1fa61d8ec299bb2d0f09f12fd016718168b2867f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Thu, 22 Jul 2021 15:19:39 +0100 Subject: [PATCH] Pass mandatory argument to `initgame` in tests --- test/runtests.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 5c675bb..9bcd638 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -3,16 +3,16 @@ using Test @testset "basic" begin global g - @test_nowarn begin - g = GameZero.initgame(joinpath("..","example","BasicGame","basic.jl")) + @test_nowarn begin + g = GameZero.initgame(joinpath("..","example","BasicGame","basic.jl"), true) GameZero.quitSDL(g) end - + end @testset "basic2" begin - @test_nowarn begin - g = GameZero.initgame(joinpath("..","example","BasicGame","basic2.jl")) + @test_nowarn begin + g = GameZero.initgame(joinpath("..","example","BasicGame","basic2.jl"), true) GameZero.quitSDL(g) end end