fix build

This commit is contained in:
Meo597 2025-06-07 21:19:04 +08:00
parent b4d1c85efa
commit 2fb9876ebd

View file

@ -287,7 +287,7 @@ func TestCommanderListHandlers(t *testing.T) {
}
if diff := cmp.Diff(inboundResp.Inbounds, clientConfig.Inbound, protocmp.Transform()); diff != "" {
t.Fatal("inbound response doesn't match config (-want +got):\n%s", diff)
t.Fatalf("inbound response doesn't match config (-want +got):\n%s", diff)
}
outboundResp, err := hsClient.ListOutbounds(context.Background(), &command.ListOutboundsRequest{})
@ -297,7 +297,7 @@ func TestCommanderListHandlers(t *testing.T) {
}
if diff := cmp.Diff(outboundResp.Outbounds, clientConfig.Outbound, protocmp.Transform()); diff != "" {
t.Fatal("outbound response doesn't match config (-want +got):\n%s", diff)
t.Fatalf("outbound response doesn't match config (-want +got):\n%s", diff)
}
}