DockerCLI/cli/compose
Vincent Demeester f34655ecf8
Tidying up compose/loader test a bit
- Use `require` instead of `assert` when the assumption is "breaking" for the code
following. For example when asserting an error is not nil and then doing
`err.Error` on it ; if `err` is nil, the test will panic instead of fail.
- Use `assert.Len` when possible. The error message is better.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-09-19 16:48:52 +02:00
..
convert sort secrets and configs to ensure idempotence 2017-09-08 16:09:48 +02:00
interpolation Return an error instead of an `*InvalidTemplateError` 2017-05-11 17:35:06 +02:00
loader Tidying up compose/loader test a bit 2017-09-19 16:48:52 +02:00
schema Change the type of interval, timeout and start_period of healthcheck from string to * time.Duration 2017-08-30 23:39:12 +08:00
template Return an error instead of an `*InvalidTemplateError` 2017-05-11 17:35:06 +02:00
types Merge pull request #481 from cdrage/add-build-to-service-config 2017-09-13 18:20:42 +02:00