Skip to content

Commit

Permalink
Fix build panic.
Browse files Browse the repository at this point in the history
  • Loading branch information
edoger committed Dec 29, 2020
1 parent d44cec6 commit 1cb5bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ func TestLogger_WithContext(t *testing.T) {
if ctx == nil {
t.Fatal("Context: nil")
}
if got := ctx.Value("key").(string); got != "foo" {
if got := ctx.Value(key).(string); got != "foo" {
t.Fatalf("Context: %s", got)
}
}
Expand Down

0 comments on commit 1cb5bd2

Please sign in to comment.