all: gofmt -w -s src misc
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5781058
This commit is contained in:
parent
c8b807a37a
commit
000149abb2
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user