瀏覽代碼

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 3 周之前
父節點
當前提交
c26ff59b47
共有 1 個文件被更改,包括 0 次插入5 次删除
  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) {