(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestJobStatisticsFromInternal(t *testing.T) { |
| 13 | t.Parallel() |
| 14 | |
| 15 | require.Equal(t, &JobStatistics{ |
| 16 | CompleteDuration: 1 * time.Second, |
| 17 | QueueWaitDuration: 2 * time.Second, |
| 18 | RunDuration: 3 * time.Second, |
| 19 | }, jobStatisticsFromInternal(&jobstats.JobStatistics{ |
| 20 | CompleteDuration: 1 * time.Second, |
| 21 | QueueWaitDuration: 2 * time.Second, |
| 22 | RunDuration: 3 * time.Second, |
| 23 | })) |
| 24 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…