[GH-19150] Remove strings in all channel types for constants (#19535)

Automatic Merge
Этот коммит содержится в:
Kitae Kim
2022-02-11 19:04:18 +09:00
коммит произвёл GitHub
родитель 0a17a9a6d8
Коммит ff288b488c
15 изменённых файлов: 74 добавлений и 70 удалений

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

@@ -62,7 +62,7 @@ func TestChannelIsValid(t *testing.T) {
o.Type = "U"
require.NotNil(t, o.IsValid())
o.Type = "P"
o.Type = ChannelTypePrivate
require.Nil(t, o.IsValid())
o.Header = strings.Repeat("01234567890", 100)