(t *testing.T)
| 238 | } |
| 239 | |
| 240 | func TestEnv(t *testing.T) { |
| 241 | t.Setenv("QUX", "from_os") |
| 242 | NewExecutorTest(t, |
| 243 | WithName("env precedence disabled"), |
| 244 | WithExecutorOptions( |
| 245 | task.WithDir("testdata/env"), |
| 246 | task.WithSilent(true), |
| 247 | ), |
| 248 | ) |
| 249 | NewExecutorTest(t, |
| 250 | WithName("env precedence enabled"), |
| 251 | WithExecutorOptions( |
| 252 | task.WithDir("testdata/env"), |
| 253 | task.WithSilent(true), |
| 254 | ), |
| 255 | WithExperiment(&experiments.EnvPrecedence, 1), |
| 256 | ) |
| 257 | } |
| 258 | |
| 259 | func TestVars(t *testing.T) { |
| 260 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…