style: 合入后修 gofmt/govet 与 RegistrationView 类型检查
This commit is contained in:
@@ -108,8 +108,8 @@ func TestMQTT5ConnectFakeBroker(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if err := mc.Send(pkt); err != nil {
|
||||
t.Fatal(err)
|
||||
if sendErr := mc.Send(pkt); sendErr != nil {
|
||||
t.Fatal(sendErr)
|
||||
}
|
||||
ack, err := mc.Recv()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user