chore: replace interface{} with any (#6751)

This commit is contained in:
Nikita Pivkin
2024-05-27 08:53:19 +06:00
committed by GitHub
parent 9c3e895fcb
commit ebb123f37f
246 changed files with 6191 additions and 6188 deletions

View File

@@ -371,7 +371,7 @@ func TestClientServerWithFormat(t *testing.T) {
}
fakeTime := time.Date(2021, 8, 25, 12, 20, 30, 5, time.UTC)
report.CustomTemplateFuncMap = map[string]interface{}{
report.CustomTemplateFuncMap = map[string]any{
"now": func() time.Time {
return fakeTime
},
@@ -388,7 +388,7 @@ func TestClientServerWithFormat(t *testing.T) {
t.Setenv("GITHUB_WORKFLOW", "workflow-name")
t.Cleanup(func() {
report.CustomTemplateFuncMap = map[string]interface{}{}
report.CustomTemplateFuncMap = map[string]any{}
})
addr, cacheDir := setup(t, setupOptions{})