aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper/stub_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-15 23:57:44 +0900
committerOphestra <cat@gensokyo.uk>2025-03-16 00:01:25 +0900
commit6e7ddb2d2ec6b163dc2c178bc4d73b5943f51206 (patch)
tree37ffe1564782377c1983909362ed6109c3f06b28 /helper/stub_test.go
parentbac4e67867faa7d8274b684575140a65827d3a4c (diff)
helper: eliminate commandContext replacement
This is done more cleanly by modifying Args in cmdF. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper/stub_test.go')
-rw-r--r--helper/stub_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/helper/stub_test.go b/helper/stub_test.go
index 7720c0ea..1de830e3 100644
--- a/helper/stub_test.go
+++ b/helper/stub_test.go
@@ -6,6 +6,4 @@ import (
"git.gensokyo.uk/security/fortify/helper"
)
-func TestHelperChildStub(t *testing.T) {
- helper.InternalChildStub()
-}
+func TestHelperStub(t *testing.T) { helper.InternalHelperStub() }