14 Commits
Author SHA1 Message Date
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 3215e0320e test: Remove redundant Marshal tests (#4266) 2026-06-04 09:22:07 -04:00
Oleksandr Redko 233fe03e17 test: Use t.Context() instead of context.Background() (#3750) 2025-10-03 08:09:47 -04:00
Ludovic Fernandez fb972ef214 chore: Check and fix license headers (#3449) 2025-01-22 22:25:06 -05:00
Oleksandr Redko b8c22534c3 fix!: Typo in field names in the PullStats struct (#3445)
BREAKING CHANGE: `MergablePulls`=>`MergeablePulls`, `UnmergablePulls`=>`UnmergeablePulls`
2025-01-20 14:25:31 -05: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 b11061df51 Add test cases for JSON resource marshaling (#1919) 2021-07-08 16:27: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 413a1dbafa Improve users_emails.go coverage (#1763) 2020-12-25 19:51:31 -05:00
Glenn Lewis d30c9b8f37 Coverage: admin_stats.go (#1194) 2019-06-13 21:05:06 -04: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
Christoph Sassenberg 95ab2eb4d6 Add admin stats (#725) 2017-11-06 07:51:09 -08:00