forked from TrueCloudLab/distribution
reference: TestParseDockerRef: capture test in loop
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
29b5e79f82
commit
af36dd698f
1 changed files with 1 additions and 0 deletions
|
@ -677,6 +677,7 @@ func TestParseDockerRef(t *testing.T) {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
for _, test := range testcases {
|
for _, test := range testcases {
|
||||||
|
test := test
|
||||||
t.Run(test.name, func(t *testing.T) {
|
t.Run(test.name, func(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
normalized, err := ParseDockerRef(test.input)
|
normalized, err := ParseDockerRef(test.input)
|
||||||
|
|
Loading…
Reference in a new issue