From 80c9c67165f919c7fda5f58eff0b9d71402bc59c Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Tue, 5 Dec 2023 10:34:23 -0800 Subject: [PATCH] fixup: contest test type name --- context_slog_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context_slog_test.go b/context_slog_test.go index 31a2a64..b6d34b8 100644 --- a/context_slog_test.go +++ b/context_slog_test.go @@ -59,7 +59,7 @@ func TestContextWithSlog(t *testing.T) { if out := FromContextAsSlogLogger(lctx); out == nil { t.Errorf("unexpected error") } else if _, ok := out.Handler().(*slogHandler); !ok { - t.Errorf("expected output to be type *logr.slogSink, got %T", out.Handler()) + t.Errorf("expected output to be type *logr.slogHandler, got %T", out.Handler()) } // ...read as logr is covered in the non-slog test