mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-01 06:04:30 +00:00
style(sub): keep the default.json test comment to two lines
CLAUDE.md caps a comment block at two lines.
This commit is contained in:
parent
0d1f4182b8
commit
ecd968091d
1 changed files with 2 additions and 3 deletions
|
|
@ -6,9 +6,8 @@ import (
|
|||
"testing"
|
||||
)
|
||||
|
||||
// The JSON-subscription embed must not ship the deprecated freedom settings
|
||||
// key — xray-core migrates it to sockopt with a warning on every load (#6482 /
|
||||
// #6515). AsIs is the core default when absent.
|
||||
// xray-core moves freedom settings.domainStrategy to sockopt with a warning on
|
||||
// every load (#6482); the embed omits it and gets the AsIs default.
|
||||
func TestDefaultJSON_FreedomOutboundHasNoLegacyDomainStrategy(t *testing.T) {
|
||||
var cfg map[string]any
|
||||
if err := json.Unmarshal([]byte(defaultJson), &cfg); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue