Commit Graph

20 Commits

Author SHA1 Message Date
Kirill Zhuravlev
625df2fec3
handle error 2023-04-03 08:16:25 -03:00
Kirill Zhuravlev
257a031f08
use constants from http pkg 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
c910a811d7
simplify some expressions 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
360d054d03
rename func 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
97074a851b
staleRepos -> warnings 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
c969fe29c4
refactor testCommitAge 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
8bac0087c0
refactor testRepoState 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
1e6ba5dd3e
embed struct inside func 2023-04-03 08:16:23 -03:00
Kirill Zhuravlev
07df6adfbc
return map of repos 2023-04-03 08:16:23 -03:00
Kirill Zhuravlev
105035402b
handle error 2023-04-03 08:16:23 -03:00
Kirill Zhuravlev
5a7a10e3f4
fixme 2023-04-03 08:16:23 -03:00
Kirill Zhuravlev
47f88e024c
refactoring 2 2023-04-03 08:16:23 -03:00
Kirill Zhuravlev
4f9028fc96
add lines between funcs 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
548d6ac097
high-level refactoring 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
d016486849
fixme 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
f2fb99dcca
mark help functions as helpers 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
82263463a8
move test functions to test file 2023-04-03 08:16:18 -03:00
Kirill Zhuravlev
00bcb01584
use template.Must at program starts 2023-04-03 08:16:17 -03:00
jidicula
4cb206f636 refactor(tests): Use net/http constants for status codes
It's best to use the built-in library constants for status codes when possible
as it improves readability, rather than having to look up status code
definitions when otherwise changing behaviour.
2022-10-27 20:22:31 -03:00
Amir Ariffin
1fd356d91f
run stale repo check as test instead (#4265) 2022-06-10 17:58:34 +05:30