diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-03 01:49:27 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-03 01:49:27 +0900 |
| commit | ae66b3d2fb2f1f65f6ca8932e8044114e609d0b4 (patch) | |
| tree | 3079bfec79b4ac5aada225bfa0da4e631d128741 /container/executable_test.go | |
| parent | 149bc3671a499cce0b5719d7396355fabfa7fc2a (diff) | |
message: rename NewMsg to New
Should have done this when relocating this from container. Now is a good time to rename it before v0.3.x.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/executable_test.go')
| -rw-r--r-- | container/executable_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/executable_test.go b/container/executable_test.go index 38e89437..486d14dc 100644 --- a/container/executable_test.go +++ b/container/executable_test.go @@ -11,7 +11,7 @@ import ( func TestExecutable(t *testing.T) { t.Parallel() for i := 0; i < 16; i++ { - if got := container.MustExecutable(message.NewMsg(nil)); got != os.Args[0] { + if got := container.MustExecutable(message.New(nil)); got != os.Args[0] { t.Errorf("MustExecutable: %q, want %q", got, os.Args[0]) } } |
