all: gofmt -w -s
This commit is contained in:
@ -74,7 +74,7 @@ func TestSimTopics(t *testing.T) {
|
||||
|
||||
go func() {
|
||||
nets := make([]*Network, 1024)
|
||||
for i, _ := range nets {
|
||||
for i := range nets {
|
||||
net := sim.launchNode(false)
|
||||
nets[i] = net
|
||||
if err := net.SetFallbackNodes([]*Node{bootnode.Self()}); err != nil {
|
||||
@ -147,7 +147,7 @@ func TestSimTopics(t *testing.T) {
|
||||
func testHierarchicalTopics(i int) []Topic {
|
||||
digits := strconv.FormatInt(int64(128+i/8), 2)
|
||||
res := make([]Topic, 8)
|
||||
for i, _ := range res {
|
||||
for i := range res {
|
||||
res[i] = Topic("foo" + digits[1:i+1])
|
||||
}
|
||||
return res
|
||||
@ -167,7 +167,7 @@ func TestSimTopicHierarchy(t *testing.T) {
|
||||
|
||||
go func() {
|
||||
nets := make([]*Network, 1024)
|
||||
for i, _ := range nets {
|
||||
for i := range nets {
|
||||
net := sim.launchNode(false)
|
||||
nets[i] = net
|
||||
if err := net.SetFallbackNodes([]*Node{bootnode.Self()}); err != nil {
|
||||
|
Reference in New Issue
Block a user