Skip to content

Commit

Permalink
Fixed outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pwfcurry authored and georgelesica-wf committed Oct 2, 2018
1 parent f2347ac commit 2db35c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assert/assertions.go
Expand Up @@ -1327,7 +1327,7 @@ func typeAndKind(v interface{}) (reflect.Type, reflect.Kind) {
}

// diff returns a diff of both values as long as both are of the same type and
// are a struct, map, slice or array. Otherwise it returns an empty string.
// are a struct, map, slice, array or string. Otherwise it returns an empty string.
func diff(expected interface{}, actual interface{}) string {
if expected == nil || actual == nil {
return ""
Expand Down

0 comments on commit 2db35c8

Please sign in to comment.