()
| 88 | } |
| 89 | |
| 90 | func (eobj *errObj) Error() string { |
| 91 | if eobj.kind == 1 { |
| 92 | panic("panic in Error() method") |
| 93 | } |
| 94 | return eobj.errMsg |
| 95 | } |
| 96 | |
| 97 | func TestUnknownFieldType(t *testing.T) { |
| 98 | unknown := Field{Key: "k", String: "foo"} |
no outgoing calls
no test coverage detected