mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 00:27:38 +00:00
sharding/utils: Fix Lint (#92)
Former-commit-id: eeb3e8626b2956c37b5730e4ea70898cb9a70c70 [formerly e93169c79c888f006c35b3790f7ae3707c6b2249] Former-commit-id: 0ccbdb8530e85e13366755615b2c1d251d10f2e8
This commit is contained in:
parent
17c0e79f1c
commit
ef997fe2f3
@ -27,8 +27,7 @@ func buildblob(size int64) []interface{} {
|
||||
|
||||
}
|
||||
func TestConvertInterface(t *testing.T) {
|
||||
var slice interface{}
|
||||
slice = []interface{}{0, 1, 2, 3, 4, 5}
|
||||
slice := []interface{}{0, 1, 2, 3, 4, 5}
|
||||
convertedValue, err := ConvertInterface(slice, reflect.Slice)
|
||||
if err != nil {
|
||||
t.Fatalf("Error: %v %v", err, convertedValue)
|
||||
|
Loading…
Reference in New Issue
Block a user