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:
MHSanaei 2026-09-26 20:35:13 +02:00
parent 0d1f4182b8
commit ecd968091d

View file

@ -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 {