mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
Merge remote-tracking branch 'origin/code-conventions' into code-conventions
This commit is contained in:
commit
6e049890aa
@ -44,7 +44,7 @@ func TestMsgGatewayCmd_GetPortFromConfig(t *testing.T) {
|
|||||||
}
|
}
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
t.Run(tt.portType, func(t *testing.T) {
|
t.Run(tt.portType, func(t *testing.T) {
|
||||||
got, _ := msgGatewayCmd.GetPortFromConfig(tt.portType)
|
got := msgGatewayCmd.GetPortFromConfig(tt.portType)
|
||||||
assert.Equal(t, tt.want, got)
|
assert.Equal(t, tt.want, got)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user