From 51e627739ef632e86f4f180d91cae4cd8f8c714d Mon Sep 17 00:00:00 2001 From: Hamed Sanaei Date: Wed, 2 Dec 2026 17:16:57 +0330 Subject: [PATCH] test(nodes): format the savepoint reconciliation fixture Use a multiline composite literal accepted by the Go CI formatter. --- internal/web/service/node_full_reconciliation_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/web/service/node_full_reconciliation_test.go b/internal/web/service/node_full_reconciliation_test.go index 3d1f54da2..7ae3cce0d 100644 --- a/internal/web/service/node_full_reconciliation_test.go +++ b/internal/web/service/node_full_reconciliation_test.go @@ -292,8 +292,10 @@ func TestNodeFullReconciliationExcludesRolledBackDetaches(t *testing.T) { const removedEmail = "removed@example.test" keep := model.Client{Email: "keep@example.test", Enable: true} initial := func(tag, email string, port int) *model.Inbound { - return &model.Inbound{Tag: tag, Port: port, Protocol: model.VLESS, Enable: true, - Settings: clientsSettings(t, []model.Client{keep, {Email: email, Enable: true}})} + return &model.Inbound{ + Tag: tag, Port: port, Protocol: model.VLESS, Enable: true, + Settings: clientsSettings(t, []model.Client{keep, {Email: email, Enable: true}}), + } } original := &runtime.TrafficSnapshot{Inbounds: []*model.Inbound{ initial(rejectedTag, rejectedEmail, 41010), initial(acceptedTag, removedEmail, 41011),