aboutsummaryrefslogtreecommitdiff
path: root/src/bytes
diff options
context:
space:
mode:
authorKevin Burke <kev@inburke.com>2017-08-17 08:16:57 -0700
committerKevin Burke <kev@inburke.com>2017-08-18 16:55:11 +0000
commit839b28246f7ec04b6d5a8d747a84d6c8bb1c33ef (patch)
tree5b1650f3206d37df17ae109a4ecf9ba1f0fe3464 /src/bytes
parente9983165dd9882e0156b1678f688f37d7f9836c2 (diff)
downloadgo-839b28246f7ec04b6d5a8d747a84d6c8bb1c33ef.tar.xz
time: add leap year test for Date
I'm writing a matching implementation of the time package and missed the "add one day in a leap year" block. This test would have caught my error. I understand we can't add test cases for every Date but it seems like "tripped up someone attempting to reimplement this" is a good indicator it may trip up people in the future. Change-Id: I4c3b51e52e269215ec0e52199afe604482326edb Reviewed-on: https://go-review.googlesource.com/56490 Reviewed-by: Matt Layher <mdlayher@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/bytes')
0 files changed, 0 insertions, 0 deletions