Handle pointers in slices

This commit is contained in:
Thomas Pelletier
2021-03-23 09:15:48 -04:00
parent e78ccff9a4
commit c6f117c45d
3 changed files with 31 additions and 2 deletions
@@ -517,7 +517,6 @@ Str = "Hello"
`)
func TestPointerUnmarshal(t *testing.T) {
t.Log("TOML data:", string(pointerTestToml))
result := pointerMarshalTestStruct{}
err := toml.Unmarshal(pointerTestToml, &result)
require.NoError(t, err)