mirror of
https://github.com/distribution/distribution.git
synced 2025-09-02 15:36:10 +00:00
reference: TestParseDockerRef: capture test in loop
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -677,6 +677,7 @@ func TestParseDockerRef(t *testing.T) {
|
||||
},
|
||||
}
|
||||
for _, test := range testcases {
|
||||
test := test
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
normalized, err := ParseDockerRef(test.input)
|
||||
|
Reference in New Issue
Block a user