Commit b75df2f6 authored by Rob Pike's avatar Rob Pike

fix some bad testing prints

R=rsc
DELTA=5  (0 added, 0 deleted, 5 changed)
OCL=31740
CL=31742
parent 04ae91cf
...@@ -565,7 +565,7 @@ func TestInterfaceExtraction(t *testing.T) { ...@@ -565,7 +565,7 @@ func TestInterfaceExtraction(t *testing.T) {
s.w = os.Stdout; s.w = os.Stdout;
v := Indirect(NewValue(&s)).(*StructValue).Field(0).Interface(); v := Indirect(NewValue(&s)).(*StructValue).Field(0).Interface();
if v != s.w.(interface{}) { if v != s.w.(interface{}) {
t.Errorf("Interface() on interface: ", v, s.w); t.Error("Interface() on interface: ", v, s.w);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment