From c3f8e35ea0badf4340ff9af83cf10a167aeda815 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 5 Dec 2017 22:31:19 +0900 Subject: [PATCH] ing --- registry/registry_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/registry/registry_test.go b/registry/registry_test.go index 0ee62f1..abe06ba 100644 --- a/registry/registry_test.go +++ b/registry/registry_test.go @@ -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 {