Package list golang-github-imdario-mergo / 47853799-ea8e-48db-ae84-6f8bdbd2f952/main issue100_test.go
47853799-ea8e-48db-ae84-6f8bdbd2f952/main

Tree @47853799-ea8e-48db-ae84-6f8bdbd2f952/main (Download .tar.gz)

issue100_test.go @47853799-ea8e-48db-ae84-6f8bdbd2f952/mainraw · 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)
	}
}