diff --git a/src/reflect/value_test.go b/src/reflect/value_test.go index e463823e..64b1cf0e 100644 --- a/src/reflect/value_test.go +++ b/src/reflect/value_test.go @@ -577,14 +577,14 @@ func TestConvert(t *testing.T) { c := v.Convert(TypeOf(byte(0))) if c.Type().Kind() != Uint8 || c.Uint() != 3 { - t.Errorf("Conver(uint64 -> byte failed: kind=%v, value=%d", c.Type().Kind().String(), c.Uint()) + t.Errorf("Convert(uint64 -> byte failed: kind=%v, value=%d", c.Type().Kind().String(), c.Uint()) } v = ValueOf("hello") c = v.Convert(TypeOf([]byte(""))) if c.Type().Kind() != Slice || c.Type().Elem().Kind() != Uint8 && c.Len() != 5 && string(c.Bytes()) != "hello" { - t.Errorf("Conver(string -> []byte") + t.Errorf("Convert(string -> []byte") } }