(t *testing.T)
| 42 | } |
| 43 | |
| 44 | func TestConvertDerivedUnsupportedSlice(t *testing.T) { |
| 45 | type derived []int |
| 46 | |
| 47 | _, err := converter{}.ConvertValue(derived{1}) |
| 48 | if err == nil || err.Error() != "unsupported type mysql.derived, a slice of int" { |
| 49 | t.Fatal("Unexpected error", err) |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | func TestConvertDerivedBool(t *testing.T) { |
| 54 | type derived bool |
nothing calls this directly
no test coverage detected