mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-12 14:28:39 +00:00
Refine "only" in Mux config
This commit is contained in:
parent
05d24d6827
commit
29d7865d78
4 changed files with 14 additions and 7 deletions
infra/conf
|
@ -357,7 +357,7 @@ func TestMuxConfig_Build(t *testing.T) {
|
|||
t.Run(tt.name, func(t *testing.T) {
|
||||
m := &MuxConfig{}
|
||||
common.Must(json.Unmarshal([]byte(tt.fields), m))
|
||||
if got := m.Build(); !reflect.DeepEqual(got, tt.want) {
|
||||
if got, _ := m.Build(); !reflect.DeepEqual(got, tt.want) {
|
||||
t.Errorf("MuxConfig.Build() = %v, want %v", got, tt.want)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue