ceph-csi/vendor/github.com/imdario/mergo/issue50_test.go

19 lines
227 B
Go
Raw Normal View History

2018-12-19 14:29:25 +00:00
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()
}
}