config: fix tests

This commit is contained in:
Mitchell Hashimoto
2025-01-05 12:38:20 -08:00
parent ce77b91bf6
commit 2fbe680aed

View File

@ -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);