(t *testing.T)
| 137 | } |
| 138 | |
| 139 | func TestConvertJSON(t *testing.T) { |
| 140 | raw := json.RawMessage("{}") |
| 141 | |
| 142 | out, err := converter{}.ConvertValue(raw) |
| 143 | |
| 144 | if err != nil { |
| 145 | t.Fatal("json.RawMessage was failed in convert", err) |
| 146 | } |
| 147 | |
| 148 | if _, ok := out.(json.RawMessage); !ok { |
| 149 | t.Fatalf("json.RawMessage converted, got %#v %T", out, out) |
| 150 | } |
| 151 | } |
nothing calls this directly
no test coverage detected