We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9899ba commit a34d3ceCopy full SHA for a34d3ce
tsutil/clock.go
@@ -24,7 +24,7 @@ type testClock struct {
24
// NewTestClock returns a test Clock starting at 1234567890000 millseconds since
25
// epoch. Each access to Now() increases time by 1 millisecond.
26
func NewTestClock() Clock {
27
- t := ParseMillis(1234567890000)
+ t := ParseMillis(int64(1234567890000))
28
return &testClock{
29
t: t,
30
tick: time.Millisecond,
0 commit comments