LogFilter: init with slice and silence tests

This commit is contained in:
Adrià Arrufat
2026-03-17 13:42:35 +09:00
parent d9cdd78138
commit b698e2d078
4 changed files with 10 additions and 7 deletions

View File

@@ -148,7 +148,7 @@ test "MCP.router - handleMessage - synchronous unit tests" {
// 5. Parse error
{
const filter: testing.LogFilter = .init(.mcp);
const filter: testing.LogFilter = .init(&.{.mcp});
defer filter.deinit();
try handleMessage(server, aa, "invalid json");