(t *testing.T)
| 87 | } |
| 88 | |
| 89 | func TestAuthTelemetryEvent_nilIsNoOp(t *testing.T) { |
| 90 | var event *AuthTelemetryEvent |
| 91 | |
| 92 | assert.NotPanics(t, func() { |
| 93 | event.RecordExpiringSetupCancelled(true) |
| 94 | event.RecordHelperBefore("none") |
| 95 | event.RecordHelperAfter("ours") |
| 96 | event.RecordGitProtocol("https") |
| 97 | event.RecordExpiringReceived(true) |
| 98 | event.RecordStorage(true) |
| 99 | event.RecordSuccess() |
| 100 | }) |
| 101 | } |
| 102 | |
| 103 | func TestHelperCategory(t *testing.T) { |
| 104 | tests := []struct { |
nothing calls this directly
no test coverage detected