Skip to content

Commit eaa7d9f

Browse files
hxzhouhgopherbot
authored andcommitted
time: time/internal_test.go remove redundant type conversion
Change-Id: I5aaea4918f024a87146ba54a8d5307658d722fe9 Reviewed-on: https://go-review.googlesource.com/c/go/+/589635 Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: hui zhou <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Knyszek <[email protected]>
1 parent 7175135 commit eaa7d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/time/internal_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func CheckRuntimeTimerPeriodOverflow() {
4747
// We manually create a runtimeTimer with huge period, but that expires
4848
// immediately. The public Timer interface would require waiting for
4949
// the entire period before the first update.
50-
t := (*Timer)(newTimer(runtimeNano(), 1<<63-1, empty, nil, nil))
50+
t := newTimer(runtimeNano(), 1<<63-1, empty, nil, nil)
5151
defer t.Stop()
5252

5353
// If this test fails, we will either throw (when siftdownTimer detects

0 commit comments

Comments
 (0)