1
0
mirror of https://github.com/golang/go synced 2024-09-25 01:20:13 -06:00

encoding/gob: delete dead code.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7834047
This commit is contained in:
Rob Pike 2013-03-22 14:22:55 -07:00
parent 092b7cfb08
commit f29b091110

View File

@ -1191,10 +1191,8 @@ func TestInterface(t *testing.T) {
if v1 != nil || v2 != nil {
t.Errorf("item %d inconsistent nils", i)
}
continue
if v1.Square() != v2.Square() {
t.Errorf("item %d inconsistent values: %v %v", i, v1, v2)
}
} else if v1.Square() != v2.Square() {
t.Errorf("item %d inconsistent values: %v %v", i, v1, v2)
}
}
}