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, }