Bumping k8s dependencies to 1.13
This commit is contained in:
18
vendor/github.com/imdario/mergo/pr80_test.go
generated
vendored
Normal file
18
vendor/github.com/imdario/mergo/pr80_test.go
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
package mergo
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
type mapInterface map[string]interface{}
|
||||
|
||||
func TestMergeMapsEmptyString(t *testing.T) {
|
||||
a := mapInterface{"s": ""}
|
||||
b := mapInterface{"s": "foo"}
|
||||
if err := Merge(&a, b); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if a["s"] != "foo" {
|
||||
t.Fatalf("b not merged in properly: a.s.Value(%s) != expected(%s)", a["s"], "foo")
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user