back

by 0x54MUR41·2y ago·view on hn ↗
I did.

Unit tests were broken in the CI pipeline because of a leap year. The problem was validating the number of days in a year, but dismissing a leap year. The code assumed the number of days in a year was 365.

1 comments
Same thing for us