From 8dbd594b2674955e5d5d4dbb8790f4379b0daaef Mon Sep 17 00:00:00 2001 From: Patrick Curry Date: Tue, 2 Oct 2018 12:39:27 +0100 Subject: [PATCH] Fixed outdated comment --- assert/assertions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assert/assertions.go b/assert/assertions.go index 5bdec56cd..65de62462 100644 --- a/assert/assertions.go +++ b/assert/assertions.go @@ -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 ""