Codebase list golang-github-imdario-mergo / c6727c3f-0907-4f02-894b-b681425735d5/upstream issue100_test.go
c6727c3f-0907-4f02-894b-b681425735d5/upstream

Tree @c6727c3f-0907-4f02-894b-b681425735d5/upstream (Download .tar.gz)

issue100_test.go @c6727c3f-0907-4f02-894b-b681425735d5/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)
	}
}