(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestToolsDir_Default(t *testing.T) { |
| 12 | t.Setenv("DOCKER_AGENT_TOOLS_DIR", "") |
| 13 | |
| 14 | dir := ToolsDir() |
| 15 | assert.Contains(t, dir, "tools") |
| 16 | } |
| 17 | |
| 18 | func TestToolsDir_EnvOverride(t *testing.T) { |
| 19 | t.Setenv("DOCKER_AGENT_TOOLS_DIR", "/custom/tools/dir") |
nothing calls this directly
no test coverage detected