registry/auth/token: fix the surrounding loop is unconditionally terminate

registry/auth/token/types_test.go:83:3: SA4004: the surrounding loop is unconditionally terminated (staticcheck)
                   return
                   ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-05-09 13:25:36 +02:00
parent 4052d269f5
commit 3c144f2264
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -81,7 +81,5 @@ func assertStringListEqual(t *testing.T, expected []string, actual []string) {
if v != actual[i] { if v != actual[i] {
t.Errorf("expected %d. item to be %q, got %q", i, v, actual[i]) t.Errorf("expected %d. item to be %q, got %q", i, v, actual[i])
} }
return
} }
} }