(t *testing.T)
| 4169 | } |
| 4170 | |
| 4171 | func TestNestedStructAccessorNoPanic(t *testing.T) { |
| 4172 | t.Parallel() |
| 4173 | issue := &Issue{User: nil} |
| 4174 | got := issue.GetUser().GetPlan().GetName() |
| 4175 | want := "" |
| 4176 | if got != want { |
| 4177 | t.Errorf("Issues.Get.GetUser().GetPlan().GetName() returned %+v, want %+v", got, want) |
| 4178 | } |
| 4179 | } |
| 4180 | |
| 4181 | func TestTwoFactorAuthError(t *testing.T) { |
| 4182 | t.Parallel() |