Hacker News new | past | comments | ask | show | jobs | submit login

I once added a "very simple" string manipulation utility function that was "obviously correct" and "didn't need any tests", then pushed directly to master. Suffice to say I don't do that any more.



What test would you have written that would have found the issue?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: