Skip to content

Commit

Permalink
Merge pull request darccio#161 from modopayments/fix160
Browse files Browse the repository at this point in the history
fixed issue darccio#160 by removing unused old test code
  • Loading branch information
darccio authored Aug 11, 2020
2 parents 65e7ba3 + a156287 commit cd55aea
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,6 @@ func deepMerge(dst, src reflect.Value, visited map[uintptr]*visit, depth int, co
}
default:
mustSet := (isEmptyValue(dst) || overwrite) && (!isEmptyValue(src) || overwriteWithEmptySrc)
v := fmt.Sprintf("%v", src)
if v == "TestIssue106" {
fmt.Println(mustSet)
fmt.Println(dst.CanSet())
}
if mustSet {
if dst.CanSet() {
dst.Set(src)
Expand Down

0 comments on commit cd55aea

Please sign in to comment.