Ver Fonte

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.
Sanaei há 12 horas atrás
pai
commit
c26ff59b47
1 ficheiros alterados com 0 adições e 5 exclusões
  1. 0 5
      internal/sub/mutation_audit_test.go

+ 0 - 5
internal/sub/mutation_audit_test.go

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