Package list golang-github-imdario-mergo / 2da3f1c7-3c64-4ff1-89d7-9e946d505f96/main issue50_test.go
2da3f1c7-3c64-4ff1-89d7-9e946d505f96/main

Tree @2da3f1c7-3c64-4ff1-89d7-9e946d505f96/main (Download .tar.gz)

issue50_test.go @2da3f1c7-3c64-4ff1-89d7-9e946d505f96/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()
	}
}