(t *testing.T)
| 2654 | } |
| 2655 | |
| 2656 | func TestUnmarshalInvalidTarget(t *testing.T) { |
| 2657 | x := "foo" |
| 2658 | err := toml.Unmarshal([]byte{}, x) |
| 2659 | assert.Error(t, err) |
| 2660 | |
| 2661 | var m *map[string]interface{} |
| 2662 | err = toml.Unmarshal([]byte{}, m) |
| 2663 | assert.Error(t, err) |
| 2664 | } |
| 2665 | |
| 2666 | func TestUnmarshalFloat32(t *testing.T) { |
| 2667 | t.Run("fits", func(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…