Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
avoid lint error which is caused by unused "mockmessage"
  • Loading branch information
chenyu468 committed Apr 9, 2024
commit c470982eb02287436d3b63dec78f01c8eccdc322
12 changes: 6 additions & 6 deletions options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ func TestMain(m *testing.M) {
goleak.VerifyTestMain(m)
}

type mockMessage struct {
Message string
}
// type mockMessage struct {
// Message string
// }

func (m mockMessage) Bytes() []byte {
return []byte(m.Message)
}
// func (m mockMessage) Bytes() []byte {
// return []byte(m.Message)
// }

func TestShutdownWorkFlow(t *testing.T) {
w := NewWorker(
Expand Down