|
@ -24,7 +24,7 @@ type TestTicker struct { |
|
|
|
|
|
|
|
|
// NewTestTicker returns our ticker used within test routines
|
|
|
// NewTestTicker returns our ticker used within test routines
|
|
|
func NewTestTicker() *TestTicker { |
|
|
func NewTestTicker() *TestTicker { |
|
|
c := make(chan time.Time, 1) |
|
|
|
|
|
|
|
|
c := make(chan time.Time) |
|
|
return &TestTicker{ |
|
|
return &TestTicker{ |
|
|
C: c, |
|
|
C: c, |
|
|
} |
|
|
} |
|
|