DockerCLI/cli/command/image/testdata
Sebastiaan van Stijn dc9e069ff2
vendor: github.com/docker/docker v20.10.3-0.20220309172631-83b51522df43
Changed `matcher.Matches(file)` to `matcher.MatchesOrParentMatches(file)`:

    cli/command/image/build/context.go:95:9: SA1019: matcher.Matches is deprecated: This implementation is buggy (it only checks a single parent dir against the pattern) and will be removed soon. Use either MatchesOrParentMatches or MatchesUsingParentResults instead.  (staticcheck)
        return matcher.Matches(file)
               ^

And updated a test to match the JSON omitting empty RootFS.Type fields (in
practice, this field should never be empty in real situations, and always
be "layer"). Changed the test to use subtests to easier find which case
is failing.

full diff: 343665850e...83b51522df

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-09 18:45:37 +01:00
..
Dockerfile.test add test case for DetectArchiveReader 2019-03-21 15:38:31 -07:00
gittar.test add test case for DetectArchiveReader 2019-03-21 15:38:31 -07:00
history-command-success.non-human.golden Update some assertions. 2018-03-05 17:15:24 -05:00
history-command-success.quiet-no-trunc.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
history-command-success.quiet.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
history-command-success.simple.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
import-command-success.input.txt Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
inspect-command-success.format.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
inspect-command-success.simple-many.golden vendor: github.com/docker/docker v20.10.3-0.20220309172631-83b51522df43 2022-03-09 18:45:37 +01:00
inspect-command-success.simple.golden vendor: github.com/docker/docker v20.10.3-0.20220309172631-83b51522df43 2022-03-09 18:45:37 +01:00
list-command-success.filters.golden formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
list-command-success.format.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
list-command-success.match-name.golden formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
list-command-success.quiet-format.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
list-command-success.simple.golden formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
load-command-success.input-file.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
load-command-success.input.txt Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
load-command-success.json.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
load-command-success.simple.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
prune-command-success.all.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
prune-command-success.force-deleted.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
prune-command-success.force-untagged.golden Unit tests for cli/commands/image (except build and tag) 2017-05-03 18:40:22 -07:00
prune-command-success.label-filter.golden Fix panic when pruning images with label-filter 2018-12-07 17:56:31 +01:00
pull-command-success.simple-no-tag.golden Add option to pull images quietly 2018-12-19 13:48:41 +01:00
pull-command-success.simple-quiet.golden fix(pull_test): for quiet option 2019-08-27 18:23:24 +09:00
pull-command-success.simple.golden Add option to pull images quietly 2018-12-19 13:48:41 +01:00
remove-command-success.Image Deleted and Untagged.golden Fix remove_test output duplication 2017-06-13 14:02:56 +02:00
remove-command-success.Image Deleted.golden Fix remove_test output duplication 2017-06-13 14:02:56 +02:00
remove-command-success.Image Untagged.golden Fix remove_test output duplication 2017-06-13 14:02:56 +02:00
remove-command-success.Image not found with force option.golden Use t.Run() for tests 2017-10-30 13:00:03 -04:00
tar.test add test case for DetectArchiveReader 2019-03-21 15:38:31 -07:00