mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
config: fix tests
This commit is contained in:
@ -204,7 +204,7 @@ test "c_get: background-blur" {
|
|||||||
try testing.expectEqual(20, cval);
|
try testing.expectEqual(20, cval);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
c.@"background-blur-radius" = .{ .value = 42 };
|
c.@"background-blur-radius" = .{ .radius = 42 };
|
||||||
var cval: u8 = undefined;
|
var cval: u8 = undefined;
|
||||||
try testing.expect(get(&c, .@"background-blur-radius", @ptrCast(&cval)));
|
try testing.expect(get(&c, .@"background-blur-radius", @ptrCast(&cval)));
|
||||||
try testing.expectEqual(42, cval);
|
try testing.expectEqual(42, cval);
|
||||||
|
Reference in New Issue
Block a user