Codebase list golang-github-imdario-mergo / b4faec0 issue100_test.go
b4faec0

Tree @b4faec0 (Download .tar.gz)

issue100_test.go @b4faec0raw · 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)
	}
}