From 77d4d9195f8bbb2a19d56ce0fdad2d751d94dadb Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 18 Feb 2026 14:35:35 +0100 Subject: pkg/aflow: export Context.Close This will be needed to an MCP server. --- pkg/aflow/test_tool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/aflow/test_tool.go') diff --git a/pkg/aflow/test_tool.go b/pkg/aflow/test_tool.go index 9167e65c5..b2f47be74 100644 --- a/pkg/aflow/test_tool.go +++ b/pkg/aflow/test_tool.go @@ -28,7 +28,7 @@ func TestTool(t *testing.T, tool Tool, initState, initArgs, wantResults any, wan ctx := &Context{ state: state, } - defer ctx.close() + defer ctx.Close() gotResults, err := tool.execute(ctx, args) gotError := "" if err != nil { @@ -46,6 +46,6 @@ func FuzzTool(t *testing.T, tool Tool, initState, initArgs any) (map[string]any, ctx := &Context{ state: state, } - defer ctx.close() + defer ctx.Close() return tool.execute(ctx, args) } -- cgit mrf-deployment