fix gci formatting in env_test.go
💘 Generated with Crush
Assisted-by: MiniMax-M2.5 via Crush <crush@charm.land>
This commit is contained in:
parent
110485c58b
commit
7518897a14
1 changed files with 2 additions and 2 deletions
|
|
@ -74,9 +74,9 @@ func TestMergeEnvVars_LLMBlocked(t *testing.T) {
|
|||
|
||||
// LLM tries to override PATH and add PICOCLAW_SECRET
|
||||
llmEnv := map[string]string{
|
||||
"PATH": "/hacked/path", // Should be blocked
|
||||
"PATH": "/hacked/path", // Should be blocked
|
||||
"PICOCLAW_SECRET": "should-be-blocked", // Should be blocked by prefix
|
||||
"USER_VAR": "user-value", // Should be allowed
|
||||
"USER_VAR": "user-value", // Should be allowed
|
||||
}
|
||||
|
||||
result := MergeEnvVars(baseEnv, nil, llmEnv)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue