all: gofmt -w -s src misc

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5781058
This commit is contained in:
Robert Griesemer 2012-03-08 10:48:51 -08:00
parent c8b807a37a
commit 000149abb2

View File

@ -143,7 +143,7 @@ func testServerScript(t *testing.T, name string, serverScript [][]byte, config *
if peers != nil { if peers != nil {
gotpeers := <-pchan gotpeers := <-pchan
if len(peers) == len(gotpeers) { if len(peers) == len(gotpeers) {
for i, _ := range peers { for i := range peers {
if !peers[i].Equal(gotpeers[i]) { if !peers[i].Equal(gotpeers[i]) {
t.Fatalf("%s: mismatch on peer cert %d", name, i) t.Fatalf("%s: mismatch on peer cert %d", name, i)
} }