Enforce use of any instead of interface{} (#30588)

Этот коммит содержится в:
Ben Schumacher
2025-03-31 10:44:34 +02:00
коммит произвёл GitHub
родитель 9aa4818c71
Коммит 166a676fe5
78 изменённых файлов: 268 добавлений и 262 удалений

Просмотреть файл

@@ -55,7 +55,7 @@ func TestGroupLogClone(t *testing.T) {
l := g.LogClone()
require.NotNil(t, l)
m, ok := l.(map[string]interface{})
m, ok := l.(map[string]any)
require.True(t, ok)
assert.Equal(t, "", m["remote_id"])
})
@@ -77,7 +77,7 @@ func TestGroupLogClone(t *testing.T) {
AllowReference: true,
}
l := g.LogClone()
m, ok := l.(map[string]interface{})
m, ok := l.(map[string]any)
require.True(t, ok)
expected := map[string]any{