diff --git a/tm2/pkg/amino/typeinfo_test.go b/tm2/pkg/amino/typeinfo_test.go new file mode 100644 index 00000000000..b685c624557 --- /dev/null +++ b/tm2/pkg/amino/typeinfo_test.go @@ -0,0 +1,14 @@ +package amino + +import ( + "reflect" + "testing" +) + +func TestTypeInfoString(t *testing.T) { + type T struct { + T *T + } + typeInfo := gcdc.newTypeInfoUnregisteredWLocked(reflect.TypeOf(T{})) + _ = typeInfo.String() +}