mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-24 20:07:13 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user