epogrebnyak / as-ikea

Convert your name to Ikea product name
1 stars 2 forks source link

Converting later with index 0 #5

Closed vladlemberg closed 4 years ago

vladlemberg commented 4 years ago

Description script crashes when converting first letter with index 0

Reproduce pass index=0 to replace_at

epogrebnyak commented 4 years ago

Not sure how to reproduce:

assert replace_at("abc", index=0).endswith("bc")

passes. There was a problem with lowercase letter previously, maybe that was causeing a crash, fixed in 03ecb5d