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

Function TestDotenvHasLocalEnvInPath

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

Source from the content-addressed store, hash-verified

2026}
2027
2028func TestDotenvHasLocalEnvInPath(t *testing.T) {
2029 t.Parallel()
2030
2031 tt := fileContentTest{
2032 Dir: "testdata/dotenv/local_env_in_path",
2033 Target: "default",
2034 TrimSpace: false,
2035 Files: map[string]string{
2036 "var.txt": "VAR='var_in_dot_env_1'\n",
2037 },
2038 }
2039 t.Run("", func(t *testing.T) {
2040 t.Parallel()
2041 tt.Run(t)
2042 })
2043}
2044
2045func TestDotenvHasLocalVarInPath(t *testing.T) {
2046 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…