(t *testing.T)
| 315 | } |
| 316 | |
| 317 | func TestComposeFileSetByDotEnv(t *testing.T) { |
| 318 | c := NewCLI(t) |
| 319 | defer c.cleanupWithDown(t, "dotenv") |
| 320 | |
| 321 | cmd := c.NewDockerComposeCmd(t, "config") |
| 322 | cmd.Dir = filepath.Join(".", "fixtures", "dotenv") |
| 323 | res := icmd.RunCmd(cmd) |
| 324 | res.Assert(t, icmd.Expected{ |
| 325 | ExitCode: 0, |
| 326 | Out: "image: test:latest", |
| 327 | }) |
| 328 | res.Assert(t, icmd.Expected{ |
| 329 | Out: "image: enabled:profile", |
| 330 | }) |
| 331 | } |
| 332 | |
| 333 | func TestComposeFileSetByProjectDirectory(t *testing.T) { |
| 334 | c := NewCLI(t) |
nothing calls this directly
no test coverage detected