Package list golang-github-imdario-mergo / scrub-obsolete/main issue50_test.go
scrub-obsolete/main

Tree @scrub-obsolete/main (Download .tar.gz)

issue50_test.go @scrub-obsolete/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()
	}
}