commit | 2064d2b8b5e33b3e5d175b3d9c5b90ba7b212665 | [log] [tgz] |
---|---|---|
author | Daniel Lohse <info@asapdesign.de> | Wed Nov 30 11:47:50 2016 +0100 |
committer | Dustin Sallings <dustin@spy.net> | Wed Nov 30 17:30:37 2016 -0800 |
tree | 11d7c157250b62acb32942d202d278ba6c035041 | |
parent | bd88f87ad3a420f7bcf05e90566fd1ceb351fa7f [diff] |
Fix panicking `CustomRelTime` when magnitude list is incomplete `CustomRelTime` panics when one decides to have the magnitudes list to not include everything up to `math.MaxInt64`. I added a few tests to illustrate a use-case.