ing
This commit is contained in:
parent
4a4e7cdfdd
commit
c3f8e35ea0
|
@ -9,6 +9,12 @@ import (
|
|||
|
||||
func TestRegisterType(t *testing.T) {
|
||||
RegisterType(reflect.TypeOf((*TestStruct)(nil)), &cda.ComponentAnnotation{})
|
||||
RegisterType(reflect.TypeOf((*TestStruct)(nil)), &cda.ComponentAnnotation{
|
||||
Names: []string{"test1", "test2"},
|
||||
})
|
||||
RegisterType(reflect.TypeOf((*TestStruct)(nil)), &cda.ComponentAnnotation{
|
||||
Names: []string{"test1", "test2"},
|
||||
})
|
||||
}
|
||||
|
||||
type TestStruct struct {
|
||||
|
|
Loading…
Reference in New Issue
Block a user