containerd/pkg/cri/util
Daniel Canter b5e1b8f619 Use t.Run for /pkg/cri tests
A majority of the tests in /pkg/cri are testing/validating multiple
things per test (generally spec or options validations). This flow
lends itself well to using *testing.T's Run method to run each thing
as a subtest so `go test` output can actually display which subtest
failed/passed.

Some of the tests in the packages in pkg/cri already did this, but
a bunch simply logged what sub-testcase was currently running without
invoking t.Run.

Signed-off-by: Daniel Canter <dcanter@microsoft.com>
2022-05-29 18:32:09 -07:00
..
deep_copy_test.go Refactor pkg packages 2020-10-08 17:30:17 -07:00
deep_copy.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
id.go Refactor pkg packages 2020-10-08 17:30:17 -07:00
image_test.go Use t.Run for /pkg/cri tests 2022-05-29 18:32:09 -07:00
image.go Refactor pkg packages 2020-10-08 17:30:17 -07:00
strings_test.go Refactor pkg packages 2020-10-08 17:30:17 -07:00
strings.go Refactor pkg packages 2020-10-08 17:30:17 -07:00
util.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00