We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3acf602 commit 5501cc5Copy full SHA for 5501cc5
internal/common/thrift_util_test.go
@@ -78,9 +78,11 @@ func TestIsUseThriftEncoding(t *testing.T) {
78
79
func TestIsUseThriftDecoding(t *testing.T) {
80
t.Run("success", func(t *testing.T) {
81
+ str1 := &mockThriftStruct{}
82
+ str2 := &mockThriftStruct{}
83
ts := []interface{}{
- &mockThriftStruct{},
84
+ &str1,
85
+ &str2,
86
}
87
88
assert.True(t, IsUseThriftDecoding(ts))
0 commit comments