Skip to content

Commit

Permalink
Merge pull request #41 from giordano/mg/tests
Browse files Browse the repository at this point in the history
Pass mandatory argument to `initgame` in tests
  • Loading branch information
aviks authored Jul 24, 2021
2 parents 26b1a22 + 1fa61d8 commit 6bf9938
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6bf9938

Please sign in to comment.