(t *testing.T)
| 2043 | } |
| 2044 | |
| 2045 | func TestDotenvHasLocalVarInPath(t *testing.T) { |
| 2046 | t.Parallel() |
| 2047 | |
| 2048 | tt := fileContentTest{ |
| 2049 | Dir: "testdata/dotenv/local_var_in_path", |
| 2050 | Target: "default", |
| 2051 | TrimSpace: false, |
| 2052 | Files: map[string]string{ |
| 2053 | "var.txt": "VAR='var_in_dot_env_3'\n", |
| 2054 | }, |
| 2055 | } |
| 2056 | t.Run("", func(t *testing.T) { |
| 2057 | t.Parallel() |
| 2058 | tt.Run(t) |
| 2059 | }) |
| 2060 | } |
| 2061 | |
| 2062 | func TestDotenvHasEnvVarInPath(t *testing.T) { // nolint:paralleltest // cannot run in parallel |
| 2063 | t.Setenv("ENV_VAR", "testing") |
nothing calls this directly
no test coverage detected
searching dependent graphs…