DockerCLI/cli/command/volume
Sebastiaan van Stijn 965699ba0f
cli/command/volume TestUpdateCmd: adjust for older error messages
The error-message changed in newer versions, and no longer includes
"exactly".

This patch adjusts the test in the meantime.

    59.13 === FAIL: cli/command/volume TestUpdateCmd (0.00s)
    59.13     update_test.go:21: assertion failed: expected error to contain "requires 1 argument", got "\"update\" requires exactly 1 argument.\nSee 'update --help'.\n\nUsage:  update [OPTIONS] [VOLUME] [flags]\n\nUpdate a volume (cluster volumes only)"

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-11 13:26:06 +02:00
..
testdata feat: standardize error for prompt 2024-03-26 14:11:55 +01:00
client_test.go vendor: github.com/docker/docker a736d0701c41 (master, v27.0.0-dev) 2024-06-10 17:41:09 +02:00
cmd.go Add cluster volume support 2022-05-13 20:06:11 +02:00
create.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
create_test.go cli/command/volume: suppress err output in tests 2023-03-21 13:21:20 +01:00
inspect.go Update go:build comments to go1.21 2024-06-18 12:17:13 +02:00
inspect_test.go cli/command: remove dot-imports and unhandled errors 2023-10-23 15:21:47 +02:00
list.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
list_test.go cli/command: remove dot-imports and unhandled errors 2023-10-23 15:21:47 +02:00
prune.go chore: remove backticks and resolve linting issues 2024-04-02 15:54:29 +02:00
prune_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
remove.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
remove_test.go cli/command/volume: suppress err output in tests 2023-03-21 13:21:20 +01:00
update.go volume/update: require 1 argument/fix panic 2024-09-11 13:12:54 +02:00
update_test.go cli/command/volume TestUpdateCmd: adjust for older error messages 2024-09-11 13:26:06 +02:00