Codebase list golang-github-imdario-mergo / 6720d30 issue50_test.go
6720d30

Tree @6720d30 (Download .tar.gz)

issue50_test.go @6720d30raw · 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()
	}
}