test(nodes): format the savepoint reconciliation fixture

Use a multiline composite literal accepted by the Go CI formatter.
This commit is contained in:
Hamed Sanaei
2026-12-02 17:16:57 +03:30
parent 3700662be2
commit 51e627739e
@@ -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),