Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Mar 29, 2024
1 parent f9d3ef5 commit b0bd5a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/debezium/transformer/transformer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ func (m mockAdatper) NewIterator() (RowsIterator, error) {
return m.iter, nil
}

type errorIterator struct {
}
type errorIterator struct{}

func (m *errorIterator) HasNext() bool {
return true
Expand Down Expand Up @@ -197,7 +196,7 @@ func TestDebeziumTransformer_Next(t *testing.T) {
transformer, err := NewDebeziumTransformer(mockAdatper{
fieldConverters: fieldConverters,
partitionKeys: []string{"foo"},
iter: lib.NewBatchIterator([][]Row{{{"foo": "bar"}}}),
iter: lib.NewSingleBatchIterator([]Row{{"foo": "bar"}}),
},
)
assert.NoError(t, err)
Expand Down

0 comments on commit b0bd5a8

Please sign in to comment.