From 24de7c50a0ea7000c3a49c56b91db9aa72abdd28 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 10 Oct 2025 20:12:05 +0900 Subject: internal/app: relocate state initialisation This is useful for testing. Signed-off-by: Ophestra --- internal/app/dispatcher_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/app/dispatcher_test.go') diff --git a/internal/app/dispatcher_test.go b/internal/app/dispatcher_test.go index f6d10baa..23a5e523 100644 --- a/internal/app/dispatcher_test.go +++ b/internal/app/dispatcher_test.go @@ -11,6 +11,7 @@ import ( type panicDispatcher struct{} func (panicDispatcher) new(func(k syscallDispatcher)) { panic("unreachable") } +func (panicDispatcher) getpid() int { panic("unreachable") } func (panicDispatcher) getuid() int { panic("unreachable") } func (panicDispatcher) getgid() int { panic("unreachable") } func (panicDispatcher) lookupEnv(string) (string, bool) { panic("unreachable") } -- cgit v1.3.1