Package list golang-github-imdario-mergo / 1b0ca7e2-597c-4e42-b83d-7f35bcd7ba7a/upstream issue100_test.go
1b0ca7e2-597c-4e42-b83d-7f35bcd7ba7a/upstream

Tree @1b0ca7e2-597c-4e42-b83d-7f35bcd7ba7a/upstream (Download .tar.gz)

issue100_test.go @1b0ca7e2-597c-4e42-b83d-7f35bcd7ba7a/upstreamraw · history · blame

package mergo_test

import (
	"testing"

	"github.com/imdario/mergo"
)

type issue100s struct {
	Member interface{}
}

func TestIssue100(t *testing.T) {
	m := make(map[string]interface{})
	m["Member"] = "anything"

	st := &issue100s{}
	if err := mergo.Map(st, m); err != nil {
		t.Error(err)
	}
}