Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Dec 12, 2024
1 parent 44501aa commit 4b696f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debezium/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func TestField_ParseValue(t *testing.T) {
}
{
// Array
field := Field{Type: Array, ItemsMetadata: Item{DebeziumType: JSON}}
field := Field{Type: Array, ItemsMetadata: &Item{DebeziumType: JSON}}
value, err := field.ParseValue([]any{`{"foo": "bar", "foo": "bar"}`, `{"hello": "world"}`})
assert.NoError(t, err)
assert.Len(t, value.([]any), 2)
Expand Down

0 comments on commit 4b696f8

Please sign in to comment.