Perfunctory gofmt -w -s=true.

pull/820/head
Matt T. Proud 2013-08-02 10:20:06 +02:00
parent 0be5a48b52
commit d54972c427
1 changed files with 7 additions and 8 deletions

View File

@ -37,7 +37,7 @@ func runTestHttpServers(t *testing.T, servers *[]*Server, transporter *HTTPTrans
var wg sync.WaitGroup
httpServers := []*http.Server{}
listeners := []net.Listener{}
for i, _ := range callbacks {
for i := range callbacks {
wg.Add(1)
port := 9000 + i
@ -96,7 +96,7 @@ func BenchmarkSpeed(b *testing.B) {
servers := []*Server{}
for i:= 0; i < 3; i++ {
for i := 0; i < 3; i++ {
port := 9000 + i
// Create raft server.
@ -151,4 +151,3 @@ func send(c chan bool, s *Server) {
}
c <- true
}