Package list golang-github-imdario-mergo / 7f088954-577d-41e8-86de-cb5d43e4e55e/main issue50_test.go
7f088954-577d-41e8-86de-cb5d43e4e55e/main

Tree @7f088954-577d-41e8-86de-cb5d43e4e55e/main (Download .tar.gz)

issue50_test.go @7f088954-577d-41e8-86de-cb5d43e4e55e/main

6720d30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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()
	}
}