(t *testing.T)
| 318 | } |
| 319 | |
| 320 | func TestBasic_IntWithFloat(t *testing.T) { |
| 321 | t.Parallel() |
| 322 | |
| 323 | input := map[string]interface{}{ |
| 324 | "vint": float64(42), |
| 325 | } |
| 326 | |
| 327 | var result Basic |
| 328 | err := Decode(input, &result) |
| 329 | if err != nil { |
| 330 | t.Fatalf("got an err: %s", err) |
| 331 | } |
| 332 | } |
| 333 | |
| 334 | func TestBasic_Merge(t *testing.T) { |
| 335 | t.Parallel() |