mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: gofmt -w -s src misc
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5781058
This commit is contained in:
parent
9fb68a9a0a
commit
56cae1c230
9 changed files with 37 additions and 37 deletions
|
|
@ -143,7 +143,7 @@ func testServerScript(t *testing.T, name string, serverScript [][]byte, config *
|
|||
if peers != nil {
|
||||
gotpeers := <-pchan
|
||||
if len(peers) == len(gotpeers) {
|
||||
for i, _ := range peers {
|
||||
for i := range peers {
|
||||
if !peers[i].Equal(gotpeers[i]) {
|
||||
t.Fatalf("%s: mismatch on peer cert %d", name, i)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue