mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-03 03:52:38 +00:00
gtk-ng: properly skip Zig test (#8322)
This commit is contained in:
@@ -103,7 +103,7 @@ pub fn addAsGroup(comptime T: type, self: *T, comptime name: [:0]const u8, actio
|
||||
|
||||
test "adding actions to an object" {
|
||||
// This test requires a connection to an active display environment.
|
||||
if (gtk.initCheck() == 0) return;
|
||||
if (gtk.initCheck() == 0) return error.SkipZigTest;
|
||||
|
||||
const callbacks = struct {
|
||||
fn callback(_: *gio.SimpleAction, variant_: ?*glib.Variant, self: *gtk.Box) callconv(.c) void {
|
||||
|
||||
Reference in New Issue
Block a user