You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to truncate a string with a value greater than its size, we get the below error.
Example of failed test: {"DOBROSLAWZYBORT", 17, "dobroslawzybort", false}
--- FAIL: TestSlugMakeSmartTruncate (0.01s)
panic: runtime error: slice bounds out of range [:17] with length 15 [recovered]
panic: runtime error: slice bounds out of range [:17] with length 15
The text was updated successfully, but these errors were encountered:
When trying to truncate a string with a value greater than its size, we get the below error.
Example of failed test:
{"DOBROSLAWZYBORT", 17, "dobroslawzybort", false}
The text was updated successfully, but these errors were encountered: