DockerCLI/cli/command/stack
Sebastiaan van Stijn bf3f419b6e
cli/command/stack: TestConfigMergeInterpolation: various fixes
- Make the package-level configMergeTests local to the test itself.
- Rename fields to better describe intent
- Remove some redundant variables
- Reverse "expected" and "actual" fields for consistency
- Use assert.Check() to not fail early

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-17 13:17:51 +01:00
..
formatter linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00
loader Add stack config command 2022-04-08 14:56:01 +02:00
options Add stack config command 2022-04-08 14:56:01 +02:00
swarm format code with gofumpt 2022-09-30 11:59:11 +02:00
testdata remove obsolete mutli-orchestrator support 2022-02-22 15:28:12 +01:00
client_test.go Fix tests with missing mocks 2018-11-08 11:37:49 +01:00
cmd.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
common.go Drop support for (archived) Compose-on-Kubernetes 2022-02-22 13:47:34 +01:00
config.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
config_test.go cli/command/stack: TestConfigMergeInterpolation: various fixes 2022-11-17 13:17:51 +01:00
deploy.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
deploy_test.go cli/command/stack: remove deprecated io/ioutil 2022-02-25 15:42:10 +01:00
list.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
list_test.go linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00
ps.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
ps_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
remove.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
remove_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
services.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
services_test.go linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00