mirror of
https://github.com/kovetskiy/mark.git
synced 2026-03-14 06:07:36 +08:00
SetLogLevel mutates a process-global logger, leaking state into subsequent tests and causing order-dependent failures. Save the current level before each subtest and restore it via t.Cleanup. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>