aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/executable_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-09-29 02:33:10 +0900
committerOphestra <cat@gensokyo.uk>2025-09-29 06:11:47 +0900
commit46cd3a28c83e93b5d66c52d06a8366c11910d5c0 (patch)
tree6e25c5078b5cd9de78b7a6c9b253f1132358812b /container/executable_test.go
parentad1bc6794f0053c3e63eab408a0d530d53e8b51c (diff)
container: remove global msg
This frees all container instances of side effects. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/executable_test.go')
-rw-r--r--container/executable_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/executable_test.go b/container/executable_test.go
index 2a44017a..5608a8ae 100644
--- a/container/executable_test.go
+++ b/container/executable_test.go
@@ -9,7 +9,7 @@ import (
func TestExecutable(t *testing.T) {
for i := 0; i < 16; i++ {
- if got := container.MustExecutable(); got != os.Args[0] {
+ if got := container.MustExecutable(container.NewMsg(nil)); got != os.Args[0] {
t.Errorf("MustExecutable: %q, want %q",
got, os.Args[0])
}