(t *testing.T)
| 28 | } |
| 29 | |
| 30 | func TestRun(t *testing.T) { |
| 31 | idles.TestSetMinLoadHours([]int{0, time.Now().Hour()}) |
| 32 | idles.Run(func() { |
| 33 | t.Log("run once") |
| 34 | }) |
| 35 | } |
| 36 | |
| 37 | func TestRunTicker(t *testing.T) { |
| 38 | if !testutils.IsSingleTesting() { |
nothing calls this directly
no test coverage detected