Skip to content

Commit

Permalink
fixed issue darccio#160 by removing unused old test code
Browse files Browse the repository at this point in the history
  • Loading branch information
bionoren committed Aug 11, 2020
1 parent 65e7ba3 commit a156287
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 a156287

Please sign in to comment.