Skip to content

Commit

Permalink
fix: lint warning
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 authored and actions-user committed Aug 24, 2020
1 parent c96b236 commit 20961dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/compress/gob/gob_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ func (m *MockTranscoder) NewEncoder(w io.Writer) Encoder {

// NewDecoder calls NewEncoderFunc.
func (m *MockTranscoder) NewDecoder(r io.Reader) Decoder {
return m.NewDecoder(r)
return m.NewDecoderFunc(r)
}
2 changes: 1 addition & 1 deletion internal/compress/lz4/lz4_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (m *MockWriter) Write(p []byte) (n int, err error) {

// Close calls CloseFunc.
func (m *MockWriter) Close() error {
return m.Close()
return m.CloseFunc()
}

// Header calls HeaderFunc.
Expand Down

0 comments on commit 20961dc

Please sign in to comment.