mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-26 13:14:14 +00:00
fix build
This commit is contained in:
parent
b4d1c85efa
commit
2fb9876ebd
1 changed files with 2 additions and 2 deletions
|
@ -287,7 +287,7 @@ func TestCommanderListHandlers(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if diff := cmp.Diff(inboundResp.Inbounds, clientConfig.Inbound, protocmp.Transform()); diff != "" {
|
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{})
|
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 != "" {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue