mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-07 00:17:13 +00:00
18 lines
227 B
Go
18 lines
227 B
Go
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()
|
|
}
|
|
}
|