(t *testing.T)
| 51 | } |
| 52 | |
| 53 | func TestConvertDerivedBool(t *testing.T) { |
| 54 | type derived bool |
| 55 | |
| 56 | output, err := converter{}.ConvertValue(derived(true)) |
| 57 | if err != nil { |
| 58 | t.Fatal("Derived bool type not convertible", err) |
| 59 | } |
| 60 | |
| 61 | if output != true { |
| 62 | t.Fatalf("Derived bool type not converted, got %#v %T", output, output) |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | func TestConvertPointer(t *testing.T) { |
| 67 | str := "value" |
nothing calls this directly
no test coverage detected