Package list golang-github-imdario-mergo / fresh-releases/upstream issue100_test.go
fresh-releases/upstream

Tree @fresh-releases/upstream (Download .tar.gz)

issue100_test.go @fresh-releases/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)
	}
}