distribution/context
Sebastiaan van Stijn f4be328bff
context: TestWithTrace(): inline checkContextForValues, use sub-tests
checkContextForValues was effectively running sub-tests, but disguided
as a helper (to DRY). While it helped some duplication, rewriting it to
run subtests within a helper also was a bit confusing, so just inline
what it does.

While updating, also run tests with t.Parallel()

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-05-09 13:54:37 +02:00
..
context.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
doc.go format code with gofumpt 2022-11-03 22:48:20 +01:00
http.go replace strings.Split(N) for strings.Cut() or alternatives 2022-11-10 22:38:12 +01:00
http_test.go context: use consistent names for test-tables 2023-05-09 13:54:37 +02:00
logger.go log: Include configured fields in all logs 2021-03-01 14:44:56 -07:00
trace.go format code with gofumpt 2022-11-03 22:48:20 +01:00
trace_test.go context: TestWithTrace(): inline checkContextForValues, use sub-tests 2023-05-09 13:54:37 +02:00
util.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
version.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
version_test.go Add WithVersion to context and other cleanup 2015-09-14 17:14:31 -07:00