Package list golang-github-imdario-mergo / debian/0.3.5-1 issue50_test.go
debian/0.3.5-1

Tree @debian/0.3.5-1 (Download .tar.gz)

issue50_test.go @debian/0.3.5-1raw · 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()
	}
}