From f46cf4c706379448f342e59aed808235e9be93c6 Mon Sep 17 00:00:00 2001 From: anthrodjear Date: Tue, 5 May 2026 06:52:02 +0300 Subject: [PATCH] fix: use exported field names (PermissionCache, AskPermission) in test file --- pkg/tools/shell_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/tools/shell_test.go b/pkg/tools/shell_test.go index 354e03dbe..b54252ae6 100644 --- a/pkg/tools/shell_test.go +++ b/pkg/tools/shell_test.go @@ -1618,8 +1618,8 @@ func TestExecTool_CheckPermission(t *testing.T) { pc := NewPermissionCache() tool := &ExecTool{ - permissionCache: pc, - askPermission: true, + PermissionCache: pc, + AskPermission: true, workingDir: "/workspace", restrictToWorkspace: true, }