glfw: Update tests in all other files to reflect changes made to glfw.init

This commit is contained in:
InKryption 2021-11-10 11:38:43 +01:00 committed by Stephen Gutekanst
parent e9175fb9f1
commit f00367e696
9 changed files with 111 additions and 111 deletions

View file

@ -103,7 +103,7 @@ pub inline fn getTimerFrequency() u64 {
test "getTime" {
const glfw = @import("main.zig");
try glfw.init();
try glfw.init(.{});
defer glfw.terminate();
_ = getTime();
@ -111,7 +111,7 @@ test "getTime" {
test "setTime" {
const glfw = @import("main.zig");
try glfw.init();
try glfw.init(.{});
defer glfw.terminate();
_ = try glfw.setTime(1234);
@ -119,7 +119,7 @@ test "setTime" {
test "getTimerValue" {
const glfw = @import("main.zig");
try glfw.init();
try glfw.init(.{});
defer glfw.terminate();
_ = glfw.getTimerValue();
@ -127,7 +127,7 @@ test "getTimerValue" {
test "getTimerFrequency" {
const glfw = @import("main.zig");
try glfw.init();
try glfw.init(.{});
defer glfw.terminate();
_ = glfw.getTimerFrequency();