mirror of
https://github.com/distribution/reference.git
synced 2026-10-28 10:15:29 +08:00
reference: TestParseDockerRef: capture test in loop
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
1 parent
9b670f7a0e
commit
8efbf687c1
1 file changed
+1
@@ -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