Skip to content

Commit

Permalink
Fix implementation to pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ifraixedes committed Jul 8, 2016
1 parent 6b2bcf5 commit 77ce413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion messagediff.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (d *Diff) diff(aVal, bVal reflect.Value, path Path) bool {

equal := true
switch kind {
case reflect.Array, reflect.Map, reflect.Ptr, reflect.Func, reflect.Chan, reflect.Slice:
case reflect.Map, reflect.Ptr, reflect.Func, reflect.Chan, reflect.Slice:
if aVal.IsNil() && bVal.IsNil() {
return true
}
Expand Down

0 comments on commit 77ce413

Please sign in to comment.