(t *testing.T, start time.Time, seconds int)
| 177 | } |
| 178 | |
| 179 | func elapsedCheck(t *testing.T, start time.Time, seconds int) { |
| 180 | elapsed := int(time.Now().Sub(start).Seconds()) |
| 181 | |
| 182 | if seconds != elapsed { |
| 183 | t.Errorf("expected %d seconds; got %d\n", seconds, elapsed) |
| 184 | } |
| 185 | } |
no outgoing calls
no test coverage detected