Skip to content

Commit

Permalink
refactor: removed commented unwanted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yashk767 committed Oct 10, 2024
1 parent 51e3bd5 commit 1e6cf73
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions utils/block_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,31 +774,3 @@ func TestGetConfirmedBlocks(t *testing.T) {
})
}
}

//func TestGetConfirmedBlocks(t *testing.T) {
// var (
// client *ethclient.Client
// epoch uint32
// )
//
// type args struct {
// }
// tests := []struct {
// name string
// args args
// want types.ConfirmedBlock
// wantErr assert.ErrorAssertionFunc
// }{
// // TODO: Add test cases.
// }
// for _, tt := range tests {
// t.Run(tt.name, func(t *testing.T) {
// ut := &UtilsStruct{}
// got, err := ut.GetConfirmedBlocks(client, epoch)
// if !tt.wantErr(t, err, fmt.Sprintf("GetConfirmedBlocks(%v, %v)", tt.args.client, tt.args.epoch)) {
// return
// }
// assert.Equalf(t, tt.want, got, "GetConfirmedBlocks(%v, %v)", tt.args.client, tt.args.epoch)
// })
// }
//}

0 comments on commit 1e6cf73

Please sign in to comment.