func cmpErrs(expected, found error) string {
	expectedStr := "nil"
	if expected != nil {
		expectedStr = expected.Error()
	}
	foundStr := "nil"
	if found != nil {
		foundStr = found.Error()
	}
	return cmp.Diff(expectedStr, foundStr)
}
// cmpErrs calls cmp.Diff on a string representation of the two errors.
cmpErrs calls cmp.Diff on a string representation of the two errors.
// cmpErrs calls cmp . Diff on a string representation of the two errors .
func cmpErrs(expected, found error) string {
	expectedStr := "nil"
	if expected != nil {
		expectedStr = expected.Error()
	}
	foundStr := "nil"
	if found != nil {
		foundStr = found.Error()
	}
	return cmp.Diff(expectedStr, foundStr)
}
func cmpErrs ( expected , found error ) string { expectedStr := " " if expected != nil { expectedStr = expected . Error ( ) } foundStr := " " if found != nil { foundStr = found . Error ( ) } return cmp . Diff ( expectedStr , foundStr ) }
cmpErrs calls cmp.Diff on a string representation of the two errors.
cmpErrs calls cmp . Diff on a string representation of the two errors .