mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
Merge pull request #1880 from lightpanda-io/logfilter-init-slice
LogFilter: init with slice and silence tests
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user