Codebase list golang-github-imdario-mergo / d0d14806-a2a3-4a60-a2cc-cd04b7d1e09a/upstream issue100_test.go
d0d14806-a2a3-4a60-a2cc-cd04b7d1e09a/upstream

Tree @d0d14806-a2a3-4a60-a2cc-cd04b7d1e09a/upstream (Download .tar.gz)

issue100_test.go @d0d14806-a2a3-4a60-a2cc-cd04b7d1e09a/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)
	}
}