3 ms·
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 rea
by davidbanham 3y ago
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.