ScuttleBot

fix: gofmt — topology policy test

lmata 2026-04-03 01:00 trunk
Commit 941697e8d8b21982a2cc4d2da50ff8d04ffd33bc13806a48aabb101041bd221e
--- internal/topology/policy_test.go
+++ internal/topology/policy_test.go
@@ -61,13 +61,13 @@
6161
{"#task.gh-42", "task"},
6262
{"#task.JIRA-99", "task"},
6363
{"#sprint.2026-q2", "sprint"},
6464
{"#incident.p1", "incident"},
6565
{"#experiment.llm-v3", "experiment"},
66
- {"#general", ""}, // static, no type
67
- {"#unknown", ""}, // no match
68
- {"#taskforce", ""}, // prefix must match exactly (task. not task)
66
+ {"#general", ""}, // static, no type
67
+ {"#unknown", ""}, // no match
68
+ {"#taskforce", ""}, // prefix must match exactly (task. not task)
6969
}
7070
7171
for _, tc := range cases {
7272
t.Run(tc.channel, func(t *testing.T) {
7373
got := p.TypeName(tc.channel)
7474
--- internal/topology/policy_test.go
+++ internal/topology/policy_test.go
@@ -61,13 +61,13 @@
61 {"#task.gh-42", "task"},
62 {"#task.JIRA-99", "task"},
63 {"#sprint.2026-q2", "sprint"},
64 {"#incident.p1", "incident"},
65 {"#experiment.llm-v3", "experiment"},
66 {"#general", ""}, // static, no type
67 {"#unknown", ""}, // no match
68 {"#taskforce", ""}, // prefix must match exactly (task. not task)
69 }
70
71 for _, tc := range cases {
72 t.Run(tc.channel, func(t *testing.T) {
73 got := p.TypeName(tc.channel)
74
--- internal/topology/policy_test.go
+++ internal/topology/policy_test.go
@@ -61,13 +61,13 @@
61 {"#task.gh-42", "task"},
62 {"#task.JIRA-99", "task"},
63 {"#sprint.2026-q2", "sprint"},
64 {"#incident.p1", "incident"},
65 {"#experiment.llm-v3", "experiment"},
66 {"#general", ""}, // static, no type
67 {"#unknown", ""}, // no match
68 {"#taskforce", ""}, // prefix must match exactly (task. not task)
69 }
70
71 for _, tc := range cases {
72 t.Run(tc.channel, func(t *testing.T) {
73 got := p.TypeName(tc.channel)
74

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button