返回 DeepSeek-Reasonix
workspace_approval_test.go
根目录 / internal / boot / workspace_approval_test.go
1 package boot
2
3 import (
4 "testing"
5
6 "reasonix/internal/config"
7 )
8
9 // approveWorkspace approves what dir's configuration names, standing in for a
10 // person who ran `reasonix trust` there. Tests of the gate itself never call it.
11 func approveWorkspace(t *testing.T, dir string) {
12 t.Helper()
13 _, _ = config.ApproveWorkspacePrograms(dir)
14 }
15
15 lines GO