aboutsummaryrefslogtreecommitdiff
path: root/gorankusu_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-02-02 23:11:46 +0700
committerShulhan <ms@kilabit.info>2026-02-04 04:46:49 +0700
commit4040e757445faee58544bf65bc5fa65458b56f9d (patch)
treef970e8717cfdf60afbb4d19127ef8693cbda83d0 /gorankusu_test.go
parente7e5f54ce3175c6c8ba326c0cc97a13cc9d8fe49 (diff)
downloadgorankusu-main.tar.xz
cmd/gorankusu: implement socket based activation with systemdHEADmaindev
The internal/cmd/gorankusu now can run using systemd.socket(5).
Diffstat (limited to 'gorankusu_test.go')
-rw-r--r--gorankusu_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gorankusu_test.go b/gorankusu_test.go
index 4db34ac..4301fd0 100644
--- a/gorankusu_test.go
+++ b/gorankusu_test.go
@@ -24,7 +24,7 @@ func TestMain(m *testing.M) {
// Mock crypto [rand.Reader] for predictable HTTP boundary.
rand.Reader = mock.NewRandReader([]byte(`gorankusu`))
- exGorankusu, err = NewExample(``, false)
+ exGorankusu, err = NewExample(nil, ``, false)
if err != nil {
log.Fatal(err)
}