go/src/time
tengufromsky 1670921a07 time: increase test coverage for Time.Sub
Existing tests don't check overflow and underflow case for subtraction
monotonic time.

Updates #17858

Change-Id: I95311440134c92eadd7d5e409a0fc7c689e9bf41
Reviewed-on: https://go-review.googlesource.com/107056
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-04-16 21:14:40 +00:00
..
example_test.go time: add example for FixedZone 2018-02-13 21:57:23 +00:00
export_android_test.go
export_test.go time: enable Location loading from user provided timezone data 2017-11-21 19:13:52 +00:00
export_windows_test.go
format.go all: remove some unused return parameters 2018-03-24 19:44:47 +00:00
format_test.go time: add support for parsing timezones denoted by sign and offset 2018-03-08 17:15:35 +00:00
genzabbrs.go
internal_test.go time: increase test coverage for Time.Sub 2018-04-16 21:14:40 +00:00
mono_test.go
sleep.go
sleep_test.go time: simplify comparison in test 2018-04-06 19:41:30 +00:00
sys_plan9.go
sys_unix.go time: add wasm architecture 2018-04-13 21:12:31 +00:00
sys_windows.go
tick.go
tick_test.go
time.go time: document that going to sleep may stop the monotonic clock 2018-04-13 00:50:22 +00:00
time_test.go time: increase test coverage for Time.Sub 2018-04-16 21:14:40 +00:00
zoneinfo.go all: remove some unused return parameters 2018-03-24 19:44:47 +00:00
zoneinfo_abbrs_windows.go go/printer, gofmt: tuned table alignment for better results 2018-04-04 13:39:34 -07:00
zoneinfo_android.go time: fix build on Android 2017-11-21 19:44:00 +00:00
zoneinfo_android_test.go
zoneinfo_ios.go
zoneinfo_plan9.go
zoneinfo_read.go time: enable Location loading from user provided timezone data 2017-11-21 19:13:52 +00:00
zoneinfo_test.go time: rename TestLoadLocationFromTzinfo to TestLoadLocationFromTZData 2017-11-21 21:13:15 +00:00
zoneinfo_unix.go time: add wasm architecture 2018-04-13 21:12:31 +00:00
zoneinfo_windows.go
zoneinfo_windows_test.go