Files
Go-StudyExample/SourceAnalysisAndTool/mergo@v0.3.11/issue100_test.go
T

22 lines
297 B
Go
Raw Normal View History

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)
}
}