Minor update

This commit is contained in:
TwinProduction 2021-01-04 18:00:36 -05:00
parent 2b4fc7138a
commit f1c0bbe73c

View File

@ -172,7 +172,7 @@ func sanitizeAndResolve(list []string, result *Result) []string {
result.Errors = append(result.Errors, err.Error())
}
if wantLength {
element = fmt.Sprintf("len(%s) %s", element, InvalidConditionElementSuffix)
element = fmt.Sprintf("%s%s%s %s", LengthFunctionPrefix, element, FunctionSuffix, InvalidConditionElementSuffix)
} else {
element = fmt.Sprintf("%s %s", element, InvalidConditionElementSuffix)
}