From 87b5c30ef6d5b7b8a10d6a5a8610054c403923e6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 9 Oct 2025 05:04:08 +0900 Subject: message: relocate from container This package is quite useful. This change allows it to be imported without importing container. Signed-off-by: Ophestra --- container/autoroot_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'container/autoroot_test.go') diff --git a/container/autoroot_test.go b/container/autoroot_test.go index 8c72b789..d53edc71 100644 --- a/container/autoroot_test.go +++ b/container/autoroot_test.go @@ -8,6 +8,7 @@ import ( "hakurei.app/container/bits" "hakurei.app/container/check" "hakurei.app/container/stub" + "hakurei.app/message" ) func TestAutoRootOp(t *testing.T) { @@ -195,7 +196,7 @@ func TestIsAutoRootBindable(t *testing.T) { } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { - var msg Msg + var msg message.Msg if tc.log { msg = &kstub{nil, stub.New(t, func(s *stub.Stub[syscallDispatcher]) syscallDispatcher { panic("unreachable") }, stub.Expect{Calls: []stub.Call{ call("verbose", stub.ExpectArgs{[]any{"got unexpected root entry"}}, nil, nil), -- cgit v1.3.1