(t *testing.T)
| 7 | var expectError string = "Send Error , errcode=43101 , errmsg=user refuse to accept the msg" |
| 8 | |
| 9 | func TestDecodeWithCommonErrorNoError(t *testing.T) { |
| 10 | err := DecodeWithCommonError([]byte(okErrData), "Send") |
| 11 | if err != nil { |
| 12 | t.Error("DecodeWithCommonError should not return error") |
| 13 | return |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | func TestDecodeWithCommonError(t *testing.T) { |
| 18 | err := DecodeWithCommonError([]byte(errData), "Send") |
nothing calls this directly
no test coverage detected
searching dependent graphs…