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

My suite failed this morning on an obscure test of a function that converts between ages and dates of birth. Took me ten minutes of head scratching before I realised it was Feb 29th.

’’’ + if time.Now().Month() == time.February && time.Now().Day() == 29 { + t.SkipNow() + } ’’’

Fixed.




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

Search: