diff --git a/pkg/agentic/prep_test.go b/pkg/agentic/prep_test.go index 83c2c2f..e51deac 100644 --- a/pkg/agentic/prep_test.go +++ b/pkg/agentic/prep_test.go @@ -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) }