MCPcopy Create free account
hub / github.com/go-task/task / TestTaskDotenvOverriddenByEnv

Function TestTaskDotenvOverriddenByEnv

task_test.go:2124–2139  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2122}
2123
2124func TestTaskDotenvOverriddenByEnv(t *testing.T) {
2125 t.Parallel()
2126
2127 tt := fileContentTest{
2128 Dir: "testdata/dotenv_task/default",
2129 Target: "dotenv-overridden-by-env",
2130 TrimSpace: true,
2131 Files: map[string]string{
2132 "dotenv-overridden-by-env.txt": "overridden",
2133 },
2134 }
2135 t.Run("", func(t *testing.T) {
2136 t.Parallel()
2137 tt.Run(t)
2138 })
2139}
2140
2141func TestTaskDotenvWithVarName(t *testing.T) {
2142 t.Parallel()

Callers

nothing calls this directly

Calls 1

RunMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…