Package list golang-github-imdario-mergo / 8fbe67a4-cda9-44e9-9dd7-051ce783f180/main issue50_test.go
8fbe67a4-cda9-44e9-9dd7-051ce783f180/main

Tree @8fbe67a4-cda9-44e9-9dd7-051ce783f180/main (Download .tar.gz)

issue50_test.go @8fbe67a4-cda9-44e9-9dd7-051ce783f180/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()
	}
}