aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/executable_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-09 05:04:08 +0900
committerOphestra <cat@gensokyo.uk>2025-10-09 05:18:19 +0900
commit87b5c30ef6d5b7b8a10d6a5a8610054c403923e6 (patch)
tree805116c39a623bb30fc532af47ea3ed78b7304c0 /container/executable_test.go
parentdf9b77b077d967d35082adb8ab3b00dd67d7bc97 (diff)
message: relocate from container
This package is quite useful. This change allows it to be imported without importing container. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/executable_test.go')
-rw-r--r--container/executable_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/container/executable_test.go b/container/executable_test.go
index 5608a8ae..33981bb6 100644
--- a/container/executable_test.go
+++ b/container/executable_test.go
@@ -5,11 +5,12 @@ import (
"testing"
"hakurei.app/container"
+ "hakurei.app/message"
)
func TestExecutable(t *testing.T) {
for i := 0; i < 16; i++ {
- if got := container.MustExecutable(container.NewMsg(nil)); got != os.Args[0] {
+ if got := container.MustExecutable(message.NewMsg(nil)); got != os.Args[0] {
t.Errorf("MustExecutable: %q, want %q",
got, os.Args[0])
}