* replace interface{} with any
Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2022-07-05 09:46:50 +03:00
коммит произвёл GitHub
родитель b45ff0be5d
Коммит 717a4d04a9
258 изменённых файлов: 1286 добавлений и 1286 удалений

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

@@ -29,13 +29,13 @@ func TestClient4TrimTrailingSlash(t *testing.T) {
// https://github.com/mattermost/mattermost-server/v6/issues/8205
func TestClient4CreatePost(t *testing.T) {
post := &Post{
Props: map[string]interface{}{
Props: map[string]any{
"attachments": []*SlackAttachment{
{
Actions: []*PostAction{
{
Integration: &PostActionIntegration{
Context: map[string]interface{}{
Context: map[string]any{
"foo": "bar",
},
URL: "http://foo.com",
@@ -58,7 +58,7 @@ func TestClient4CreatePost(t *testing.T) {
Actions: []*PostAction{
{
Integration: &PostActionIntegration{
Context: map[string]interface{}{
Context: map[string]any{
"foo": "bar",
},
URL: "http://foo.com",