srs/internal/env
winlin 431b842dd1 Proxy: Make internal/env tests hermetic by injecting env and file indirections
Swap direct os.Getenv/Setenv/LookupEnv and os.Open calls in internal/env
for package-level function variables so tests can replace them with
in-memory fakes. Tests no longer mutate process env or hit the filesystem,
making them safe to run in parallel and free of global side effects.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 14:53:44 -04:00
..
env_test.go Proxy: Make internal/env tests hermetic by injecting env and file indirections 2026-04-18 14:53:44 -04:00
env.go Proxy: Make internal/env tests hermetic by injecting env and file indirections 2026-04-18 14:53:44 -04:00