aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/outcome/main_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-03 01:49:27 +0900
committerOphestra <cat@gensokyo.uk>2025-11-03 01:49:27 +0900
commitae66b3d2fb2f1f65f6ca8932e8044114e609d0b4 (patch)
tree3079bfec79b4ac5aada225bfa0da4e631d128741 /internal/outcome/main_test.go
parent149bc3671a499cce0b5719d7396355fabfa7fc2a (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 'internal/outcome/main_test.go')
-rw-r--r--internal/outcome/main_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/outcome/main_test.go b/internal/outcome/main_test.go
index f25264b2..14aa34d7 100644
--- a/internal/outcome/main_test.go
+++ b/internal/outcome/main_test.go
@@ -29,7 +29,7 @@ import (
func TestOutcomeMain(t *testing.T) {
t.Parallel()
- msg := message.NewMsg(nil)
+ msg := message.New(nil)
msg.SwapVerbose(testing.Verbose())
testCases := []struct {
@@ -40,7 +40,7 @@ func TestOutcomeMain(t *testing.T) {
wantSys *system.I
wantParams *container.Params
}{
- {"template", new(stubNixOS), hst.Template(), checkExpectInstanceId, system.New(panicMsgContext{}, message.NewMsg(nil), 1000009).
+ {"template", new(stubNixOS), hst.Template(), checkExpectInstanceId, system.New(panicMsgContext{}, message.New(nil), 1000009).
// spParamsOp
Ensure(m("/tmp/hakurei.0"), 0711).