1
0
mirror of https://github.com/golang/go synced 2024-11-20 04:54:44 -07:00

fix some bad testing prints

R=rsc
DELTA=5  (0 added, 0 deleted, 5 changed)
OCL=31740
CL=31742
This commit is contained in:
Rob Pike 2009-07-16 15:01:21 -07:00
parent 04ae91cf71
commit b75df2f695

View File

@ -565,7 +565,7 @@ func TestInterfaceExtraction(t *testing.T) {
s.w = os.Stdout;
v := Indirect(NewValue(&s)).(*StructValue).Field(0).Interface();
if v != s.w.(interface{}) {
t.Errorf("Interface() on interface: ", v, s.w);
t.Error("Interface() on interface: ", v, s.w);
}
}