mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-15 09:28:45 +00:00
Merge commit '65f6f0a43b814b2980740e119aa96f1adcb82e9a' into finalrules
This commit is contained in:
@@ -292,7 +292,8 @@ func TestCommanderListHandlers(t *testing.T) {
|
||||
protocmp.Transform(),
|
||||
cmpopts.SortSlices(func(a, b *core.InboundHandlerConfig) bool {
|
||||
return a.Tag < b.Tag
|
||||
})); diff != "" {
|
||||
}),
|
||||
); diff != "" {
|
||||
t.Fatalf("inbound response doesn't match config (-want +got):\n%s", diff)
|
||||
}
|
||||
|
||||
@@ -308,7 +309,8 @@ func TestCommanderListHandlers(t *testing.T) {
|
||||
protocmp.Transform(),
|
||||
cmpopts.SortSlices(func(a, b *core.InboundHandlerConfig) bool {
|
||||
return a.Tag < b.Tag
|
||||
})); diff != "" {
|
||||
}),
|
||||
); diff != "" {
|
||||
t.Fatalf("outbound response doesn't match config (-want +got):\n%s", diff)
|
||||
}
|
||||
}
|
||||
@@ -467,7 +469,8 @@ func TestCommanderAddRemoveUser(t *testing.T) {
|
||||
Id: u2.String(),
|
||||
}),
|
||||
},
|
||||
}),
|
||||
},
|
||||
),
|
||||
})
|
||||
common.Must(err)
|
||||
if resp == nil {
|
||||
|
||||
Reference in New Issue
Block a user