Ajay Kemparaj
f9fec07de4
feat: Require Go 1.26 and use new(expr) for pointer literals ( #4481 )
2026-08-28 12:18:49 -04:00
Oleksandr Redko
233fe03e17
test: Use t.Context() instead of context.Background() ( #3750 )
2025-10-03 08:09:47 -04:00
Oleksandr Redko
f66ed85955
feat: Deprecate and replace Bool,Int,Int64,String with Ptr using generics ( #3355 )
2024-12-10 21:36:09 -05:00
Glenn Lewis
dc884c26ca
Add t.Parallel to unit tests ( #3297 )
2024-10-05 07:29:05 -04:00
Glenn Lewis
e56d378b96
refactor: Do not call teardown manually in tests ( #3296 )
2024-10-01 11:52:30 -04:00
Sagar Sonwane
51e7595f87
fix: Updated comparisons in test files ( #1875 )
...
Replaced all reflect.DeepEqual comparisons in test files with cmp.Equal.
Fixes : #1851
2021-05-26 11:49:24 -07:00
Glenn Lewis
ffc8d9a255
Improve users_blocking.go coverage ( #1713 )
2020-12-25 19:18:55 -05:00
Glenn Lewis
460db534b8
Refactor context.Background in tests ( #1672 )
2020-12-16 05:58:28 -05:00
Chris King
df88dd9538
Remove global test variables in favor of local. ( #766 )
...
This refactor removes the global test variables used by all tests,
replacing them with local variables that are independent in each test.
This is better style, easier to read and be confident about correctness,
and allows tests to be parallelized in the future.
Resolves #762 .
2017-12-02 14:34:41 -05:00
avr2j
d23570d443
Add ListBlockedUsers, IsBlocked, BlockUser, UnblockUser methods to UsersService. ( #600 )
...
This change adds support for user blocking preview API to UsersService.
This preview API was announced at https://developer.github.com/changes/2017-02-28-user-blocking-apis-and-webhook/ .
The endpoints are documented at https://developer.github.com/v3/users/blocking/ .
Helps #569 .
2017-04-08 15:49:29 -04:00