Remove some more woke warnings
@@ -25,18 +25,18 @@ import (
)
// implement apis.Convertible
-type dummyObject struct{}
+type testObject struct{}
-func (*dummyObject) ConvertTo(ctx context.Context, obj apis.Convertible) error {
+func (*testObject) ConvertTo(ctx context.Context, obj apis.Convertible) error {
return errors.New("Won't go")
}
-func (*dummyObject) ConvertFrom(ctx context.Context, obj apis.Convertible) error {
+func (*testObject) ConvertFrom(ctx context.Context, obj apis.Convertible) error {
return errors.New("Won't go")
}
func TestPingSourceConversionBadType(t *testing.T) {
- good, bad := &PingSource{}, &dummyObject{}
+ good, bad := &PingSource{}, &testObject{}
if err := good.ConvertTo(context.Background(), bad); err == nil {
t.Errorf("ConvertTo() = %#v, wanted error", bad)
