Skip to content

Commit

Permalink
adjust test case
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Jul 10, 2023
1 parent 15c9d3f commit 1ee125c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions testdata/h2t_conv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
},
},
},
Expand Down
3 changes: 1 addition & 2 deletions thrift/annotation/anno_mapping_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1ee125c

Please sign in to comment.