(t *testing.T)
| 2060 | } |
| 2061 | |
| 2062 | func TestDotenvHasEnvVarInPath(t *testing.T) { // nolint:paralleltest // cannot run in parallel |
| 2063 | t.Setenv("ENV_VAR", "testing") |
| 2064 | |
| 2065 | tt := fileContentTest{ |
| 2066 | Dir: "testdata/dotenv/env_var_in_path", |
| 2067 | Target: "default", |
| 2068 | TrimSpace: false, |
| 2069 | Files: map[string]string{ |
| 2070 | "var.txt": "VAR='var_in_dot_env_2'\n", |
| 2071 | }, |
| 2072 | } |
| 2073 | tt.Run(t) |
| 2074 | } |
| 2075 | |
| 2076 | func TestTaskDotenvParseErrorMessage(t *testing.T) { |
| 2077 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…