diff --git a/internal/collector/sysinfo/sysinfo_windows_test.go b/internal/collector/sysinfo/sysinfo_windows_test.go index b5a2330..5bc9fd8 100644 --- a/internal/collector/sysinfo/sysinfo_windows_test.go +++ b/internal/collector/sysinfo/sysinfo_windows_test.go @@ -293,7 +293,11 @@ func TestCollectWindows(t *testing.T) { if !l.AssertLevels(t, tc.logs) { for _, call := range l.HandleCalls { - t.Logf("Logged %v: %s\n", call.Level, call.Message) + t.Logf("Logged %v %s:", call.Level, call.Message) + call.Attrs(func(attr slog.Attr) bool { + t.Logf("%s", attr.String()) + return true + }) } } })