fix: use exported field names (PermissionCache, AskPermission) in test file
This commit is contained in:
parent
9455c2d641
commit
f46cf4c706
1 changed files with 2 additions and 2 deletions
|
|
@ -1618,8 +1618,8 @@ func TestExecTool_CheckPermission(t *testing.T) {
|
||||||
pc := NewPermissionCache()
|
pc := NewPermissionCache()
|
||||||
|
|
||||||
tool := &ExecTool{
|
tool := &ExecTool{
|
||||||
permissionCache: pc,
|
PermissionCache: pc,
|
||||||
askPermission: true,
|
AskPermission: true,
|
||||||
workingDir: "/workspace",
|
workingDir: "/workspace",
|
||||||
restrictToWorkspace: true,
|
restrictToWorkspace: true,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue