Codebase list golang-github-imdario-mergo / 5ba477ba-086b-4408-8040-78f4b08bdd7b/upstream issue100_test.go
5ba477ba-086b-4408-8040-78f4b08bdd7b/upstream

Tree @5ba477ba-086b-4408-8040-78f4b08bdd7b/upstream (Download .tar.gz)

issue100_test.go @5ba477ba-086b-4408-8040-78f4b08bdd7b/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)
	}
}