We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 254355f commit a0dd825Copy full SHA for a0dd825
bson/unmarshal_test.go
@@ -846,7 +846,7 @@ func TestUnmarshalTypeCompatibility(t *testing.T) {
846
t.Run("negative", func(t *testing.T) {
847
t.Parallel()
848
849
- testcases := []struct {
+ testCases := []struct {
850
name string
851
val any
852
data []byte
@@ -893,7 +893,7 @@ func TestUnmarshalTypeCompatibility(t *testing.T) {
893
errMsg: "cannot decode embedded document into a bsoncore.Array",
894
},
895
}
896
- for _, tc := range testcases {
+ for _, tc := range testCases {
897
tc := tc
898
t.Run(tc.name, func(t *testing.T) {
899
0 commit comments