chore(sub): drop the inlined externalLinkEnabled test helper

81fcacab applied the helper's own //go:fix inline directive, rewriting its
only call site to new(false). The function was left behind with no callers.
This commit is contained in:
Sanaei
2026-08-23 23:18:49 +02:00
parent 6f7a305239
commit c26ff59b47
-5
View File
@@ -25,11 +25,6 @@ func initMutDB(t *testing.T) {
t.Cleanup(func() { _ = database.CloseDB() })
}
//go:fix inline
func externalLinkEnabled(v bool) *bool {
return new(v)
}
// --- json_service.go:40 — rules are merged into routing only when non-empty ---
func TestSubJsonService_CustomRulesPrepended(t *testing.T) {