Package list golang-github-imdario-mergo / 16803730-1001-4d79-8d69-79b22f991be6/main issue50_test.go
16803730-1001-4d79-8d69-79b22f991be6/main

Tree @16803730-1001-4d79-8d69-79b22f991be6/main (Download .tar.gz)

issue50_test.go @16803730-1001-4d79-8d69-79b22f991be6/mainraw · 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()
	}
}