]> Cypherpunks.ru repositories - gostls13.git/commit
time: make Ticker.Reset(0) panic
authorzhouguangyuan <zhouguangyuan.xian@gmail.com>
Wed, 3 Nov 2021 14:23:29 +0000 (22:23 +0800)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Fri, 5 Nov 2021 21:13:38 +0000 (21:13 +0000)
commit091948a55fb198be4202c21a5809ec68d77f70c4
treef7106384233d6920ac180fa6756cb4a9f629b8e3
parentdbd3cf884986c88f5b3350709c0f51fa02330805
time: make Ticker.Reset(0) panic

Fixes #49315

Change-Id: I0887bad1059b25ae0749bfa1ed6ddccbecca7951
Reviewed-on: https://go-review.googlesource.com/c/go/+/361074
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
src/time/tick.go
src/time/tick_test.go