(a, b error)
| 1055 | } |
| 1056 | |
| 1057 | func equalError(a, b error) bool { |
| 1058 | if a == nil { |
| 1059 | return b == nil |
| 1060 | } |
| 1061 | if b == nil { |
| 1062 | return a == nil |
| 1063 | } |
| 1064 | return a.Error() == b.Error() |
| 1065 | } |
| 1066 | |
| 1067 | func TestUnmarshal(t *testing.T) { |
| 1068 | for i, tt := range unmarshalTests { |
no test coverage detected
searching dependent graphs…