Fix typo in docstring of DeepEqual

Change "imformative" to informative
This commit is contained in:
Dax McDonald 2019-10-01 17:05:44 -07:00
parent 8b611ac7df
commit c5edd4565c

View File

@ -229,7 +229,7 @@ func (e Equalities) deepValueEqual(v1, v2 reflect.Value, visited map[visit]bool,
// //
// An empty slice *is* equal to a nil slice for our purposes; same for maps. // An empty slice *is* equal to a nil slice for our purposes; same for maps.
// //
// Unexported field members cannot be compared and will cause an imformative panic; you must add an Equality // Unexported field members cannot be compared and will cause an informative panic; you must add an Equality
// function for these types. // function for these types.
func (e Equalities) DeepEqual(a1, a2 interface{}) bool { func (e Equalities) DeepEqual(a1, a2 interface{}) bool {
if a1 == nil || a2 == nil { if a1 == nil || a2 == nil {