Package list golang-github-imdario-mergo / upstream/latest issue50_test.go
upstream/latest

Tree @upstream/latest (Download .tar.gz)

issue50_test.go @upstream/latestraw · history · blame

package mergo

import (
	"testing"
	"time"
)

type testStruct struct {
	time.Duration
}

func TestIssue50Merge(t *testing.T) {
	to := testStruct{}
	from := testStruct{}
	if err := Merge(&to, from); err != nil {
		t.Fail()
	}
}