Skip to content

Commit

Permalink
[chore] Remove call of deprecated InsertNull (#5967)
Browse files Browse the repository at this point in the history
Co-authored-by: Bogdan Drutu <[email protected]>
  • Loading branch information
dmitryax and bogdandrutu committed Aug 25, 2022
1 parent 40cd9ba commit 940943c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdata/pcommon/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func TestMap(t *testing.T) {
assert.EqualValues(t, Map(internal.GenerateTestMap()), insertMapString)

insertMapNull := NewMap()
insertMapNull.InsertNull("k")
insertMapNull.Insert("k", NewValueEmpty())
assert.EqualValues(t, generateTestEmptyMap(), insertMapNull)

insertMapInt := NewMap()
Expand Down

0 comments on commit 940943c

Please sign in to comment.