Skip to content

Commit af1eecf

Browse files
committed
more coverage
1 parent 15f9d3a commit af1eecf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

field_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ func TestFieldConstructors(t *testing.T) {
250250
{"Any:PtrUintptr", Any("k", (*uintptr)(nil)), nilField("k")},
251251
{"Any:PtrUintptr", Any("k", &uintptrVal), Uintptr("k", uintptrVal)},
252252
{"Any:Error-nil", Any("k", nilErr), nilField("k")},
253+
{"Any:Error-nil", Any("k", (error)(nil)), nilField("k")},
253254
{"Namespace", Namespace("k"), Field{Key: "k", Type: zapcore.NamespaceType}},
254255
}
255256

0 commit comments

Comments
 (0)