3 ms·
I had a bunch of tests fail at the start of this year because someone had hard coded 2017 into the tests. Fortunately it was a problem with the tests, rather t
by toomanybeersies 9y ago
I had a bunch of tests fail at the start of this year because someone had hard coded 2017 into the tests.
Fortunately it was a problem with the tests, rather than the code itself, but these things do happen.
At my old job, we had a bunch of tests fail when daylight saving ticked over. For some reason, some things were using local time, rather than UTC. We also had a test that would fail if the minute was the same as the hour.
Time is hard