Skip to content

Commit

Permalink
fixup: contest test type name
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Dec 6, 2023
1 parent 5b7610c commit 80c9c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context_slog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80c9c67

Please sign in to comment.