(t *testing.T)
| 1976 | } |
| 1977 | |
| 1978 | func 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 | |
| 1995 | func TestDotenvShouldErrorWhenIncludingDependantDotenvs(t *testing.T) { |
| 1996 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…