diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-09-29 02:33:10 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-09-29 06:11:47 +0900 |
| commit | 46cd3a28c83e93b5d66c52d06a8366c11910d5c0 (patch) | |
| tree | 6e25c5078b5cd9de78b7a6c9b253f1132358812b /internal/app/state/multi_test.go | |
| parent | ad1bc6794f0053c3e63eab408a0d530d53e8b51c (diff) | |
container: remove global msg
This frees all container instances of side effects.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/state/multi_test.go')
| -rw-r--r-- | internal/app/state/multi_test.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/app/state/multi_test.go b/internal/app/state/multi_test.go index d493a388..b8e1db9b 100644 --- a/internal/app/state/multi_test.go +++ b/internal/app/state/multi_test.go @@ -1,9 +1,13 @@ package state_test import ( + "log" "testing" + "hakurei.app/container" "hakurei.app/internal/app/state" ) -func TestMulti(t *testing.T) { testStore(t, state.NewMulti(t.TempDir())) } +func TestMulti(t *testing.T) { + testStore(t, state.NewMulti(container.NewMsg(log.New(log.Writer(), "multi: ", 0)), t.TempDir())) +} |
