MCPcopy Index your code
hub / github.com/go-task/task / TestDotenvShouldIncludeAllEnvFiles

Function TestDotenvShouldIncludeAllEnvFiles

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

Source from the content-addressed store, hash-verified

1976}
1977
1978func TestDotenvShouldIncludeAllEnvFiles(t *testing.T) {
1979 t.Parallel()
1980
1981 tt := fileContentTest{
1982 Dir: "testdata/dotenv/default",
1983 Target: "default",
1984 TrimSpace: false,
1985 Files: map[string]string{
1986 "include.txt": "INCLUDE1='from_include1' INCLUDE2='from_include2'\n",
1987 },
1988 }
1989 t.Run("", func(t *testing.T) {
1990 t.Parallel()
1991 tt.Run(t)
1992 })
1993}
1994
1995func TestDotenvShouldErrorWhenIncludingDependantDotenvs(t *testing.T) {
1996 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…