Skip to content

Commit

Permalink
more coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbbit committed Jul 28, 2023
1 parent 15f9d3a commit af1eecf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions field_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ func TestFieldConstructors(t *testing.T) {
{"Any:PtrUintptr", Any("k", (*uintptr)(nil)), nilField("k")},
{"Any:PtrUintptr", Any("k", &uintptrVal), Uintptr("k", uintptrVal)},
{"Any:Error-nil", Any("k", nilErr), nilField("k")},
{"Any:Error-nil", Any("k", (error)(nil)), nilField("k")},
{"Namespace", Namespace("k"), Field{Key: "k", Type: zapcore.NamespaceType}},
}

Expand Down

0 comments on commit af1eecf

Please sign in to comment.