|
|
@ -117,9 +117,9 @@ func TestFuncs(t *testing.T) {
|
|
|
|
// version of mergo (even accidentally) that causes a breaking change. See
|
|
|
|
// version of mergo (even accidentally) that causes a breaking change. See
|
|
|
|
// sprig changelog and notes for more details.
|
|
|
|
// sprig changelog and notes for more details.
|
|
|
|
// Note, Go modules assume semver is never broken. So, there is no way to tell
|
|
|
|
// Note, Go modules assume semver is never broken. So, there is no way to tell
|
|
|
|
// the tooling to not update to a minor or patch version. `go get -u` could be
|
|
|
|
// the tooling to not update to a minor or patch version. `go install` could
|
|
|
|
// used to accidentally update mergo. This test and message should catch the
|
|
|
|
// be used to accidentally update mergo. This test and message should catch
|
|
|
|
// problem and explain why it's happening.
|
|
|
|
// the problem and explain why it's happening.
|
|
|
|
func TestMerge(t *testing.T) {
|
|
|
|
func TestMerge(t *testing.T) {
|
|
|
|
dict := map[string]interface{}{
|
|
|
|
dict := map[string]interface{}{
|
|
|
|
"src2": map[string]interface{}{
|
|
|
|
"src2": map[string]interface{}{
|
|
|
|