diff --git a/testdata/h2t_conv_test.go b/testdata/h2t_conv_test.go index c03fafb8..ec6d9ab1 100644 --- a/testdata/h2t_conv_test.go +++ b/testdata/h2t_conv_test.go @@ -97,10 +97,7 @@ func TestHTTP2ThriftConv_Do(t *testing.T) { Arguments: general.Struct{ 1: general.Struct{ 1: int32(7749), - 255: general.Struct{ - 1: int32(0), - 2: general.List(nil), - }, + 255: general.Struct{}, }, }, }, diff --git a/thrift/annotation/anno_mapping_test.go b/thrift/annotation/anno_mapping_test.go index 35a01ab3..09e6b252 100644 --- a/thrift/annotation/anno_mapping_test.go +++ b/thrift/annotation/anno_mapping_test.go @@ -72,8 +72,7 @@ func TestGoTagJSON(t *testing.T) { string ExampleMethod(1: Base req) } `, "ExampleMethod") - require.Error(t, err) - println(err.Error()) + require.NoError(t, err) } func TestApiKey(t *testing.T) {