code review

- Add test with invalid value.
- Fix inspector compilation.
This commit is contained in:
Damien Mehala
2025-01-02 00:13:55 +01:00
parent b52e76334e
commit c98d207eb9
2 changed files with 24 additions and 9 deletions

View File

@@ -265,7 +265,7 @@ pub const VTEvent = struct {
),
else => switch (Value) {
u8 => try md.put(
u8, u16 => try md.put(
key,
try std.fmt.allocPrintZ(alloc, "{}", .{value}),
),