DockerCLI/cli/compose/loader
Sebastiaan van Stijn 4d2fb68b93
cli/compose/loader: fix error messages, and various tests
Various fixes:

- Don't capitalize error messages
- Rename variables that collided with imports or types
- Prefer assert.Check over assert.Assert to prevent tests covering multiple
  cases from failing early
- Fix inconsistent order of expected <--> actual, which made it difficult to
  check which output was the expected output.
- Fix formatting of some comments

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-17 13:17:51 +01:00
..
example1.env Import docker/docker/cli 2017-04-17 17:40:59 -04:00
example2.env Import docker/docker/cli 2017-04-17 17:40:59 -04:00
full-example.yml Add compose support for cluster volumes 2022-11-02 11:27:06 -05:00
full-struct_test.go cli/compose/loader: fix error messages, and various tests 2022-11-17 13:17:51 +01:00
interpolate.go Add interpolation type cast for max_replicas_per_node 2019-11-05 08:31:36 +01:00
loader.go cli/compose/loader: fix error messages, and various tests 2022-11-17 13:17:51 +01:00
loader_test.go cli/compose/loader: fix error messages, and various tests 2022-11-17 13:17:51 +01:00
merge.go format code with gofumpt 2022-09-30 11:59:11 +02:00
merge_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
types_test.go cli/compose/loader: TestMarshallConfig: fix duplicate version 2022-11-17 13:17:50 +01:00
volume.go fix panic on single-character volumes 2020-02-21 01:38:52 +01:00
volume_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
windows_path.go format (GoDoc) comments with Go 1.19 to prepare for go updates 2022-07-19 19:10:16 +02:00
windows_path_test.go compose/loader: fix TestIsAbs not testing all combinations 2019-10-29 15:02:23 +01:00