glfw: improve test names
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
35c698702b
commit
5ab519c025
1 changed files with 2 additions and 2 deletions
|
@ -503,7 +503,7 @@ test "getVersionString" {
|
||||||
std.debug.print("\nstring: {s}\n", .{getVersionString()});
|
std.debug.print("\nstring: {s}\n", .{getVersionString()});
|
||||||
}
|
}
|
||||||
|
|
||||||
test "pollEvents" {
|
test "init" {
|
||||||
init(.{ .cocoa_chdir_resources = true });
|
init(.{ .cocoa_chdir_resources = true });
|
||||||
if (getErrorString()) |err| {
|
if (getErrorString()) |err| {
|
||||||
std.log.err("failed to initialize GLFW: {?s}", .{err});
|
std.log.err("failed to initialize GLFW: {?s}", .{err});
|
||||||
|
@ -512,7 +512,7 @@ test "pollEvents" {
|
||||||
defer terminate();
|
defer terminate();
|
||||||
}
|
}
|
||||||
|
|
||||||
test "pollEvents2" {
|
test "pollEvents" {
|
||||||
defer clearError(); // clear any error we generate
|
defer clearError(); // clear any error we generate
|
||||||
if (!init(.{})) {
|
if (!init(.{})) {
|
||||||
std.log.err("failed to initialize GLFW: {?s}", .{getErrorString()});
|
std.log.err("failed to initialize GLFW: {?s}", .{getErrorString()});
|
||||||
|
|
Loading…
Add table
Reference in a new issue