Formats a colored diff between expectedStr and actualStr.
expectedStr
actualStr
Maximum string length for which char-level diff is computed. Beyond this falls back to plain two-line display.