fix: test uses core.New() directly — no .Value unwrap

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-03-24 21:53:45 +00:00
parent b6f73dbdd2
commit 60b0b0b63b

View file

@ -190,7 +190,7 @@ func TestSetCore_Good(t *testing.T) {
s := &PrepSubsystem{}
assert.Nil(t, s.core)
c := core.New(core.WithOption("name", "test")).Value.(*core.Core)
c := core.New(core.WithOption("name", "test"))
s.SetCore(c)
assert.NotNil(t, s.core)
}