Skip to content

Commit

Permalink
Add test for #225
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcaine committed Feb 10, 2023
1 parent 375408b commit 64a3278
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ println(GLFW.GetVersionString())
# GLFWError uses integer for unrecognized error code
@test isa(GLFW.GLFWError(0xDEADBEEF, "").code, Integer)

# https://github.com/JuliaGL/GLFW.jl/pull/225
@test GLFW.PRESS == true
@test GLFW.RELEASE == false

if !haskey(ENV, "CI") # AppVeyor and Travis CI don't support OpenGL
include("windowclose.jl")
end

0 comments on commit 64a3278

Please sign in to comment.