DockerCLI/cli/config/configfile
Sebastiaan van Stijn 1e9575e81a
cli/config/configfile: various test cleanups
- use var/const blocks when declaring a list of variables
- use const where possible

TestCheckKubernetesConfigurationRaiseAnErrorOnInvalidValue:

- use keys when assigning values
- make sure test is dereferenced in the loop
- use subtests

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit be327a4f0f)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-29 12:10:40 +02:00
..
testdata Simplify cli plugin config file entry 2019-02-25 10:38:48 +00:00
file.go Config-file: remove User-Agent from config.json when saving 2020-10-01 15:04:39 +02:00
file_test.go cli/config/configfile: various test cleanups 2021-07-29 12:10:40 +02:00
file_unix.go config: preserve ownership and permissions on configfile 2019-12-17 09:57:33 +01:00
file_windows.go config: preserve ownership and permissions on configfile 2019-12-17 09:57:33 +01:00