mirror of
https://github.com/distribution/distribution.git
synced 2025-07-05 11:37:18 +00:00
Fixes formatting in errors_test.go to match gofmt rules
This commit is contained in:
parent
8a64db69ec
commit
39fee7d40a
@ -8,7 +8,7 @@ import (
|
|||||||
// TestErrorCodes ensures that error code format, mappings and
|
// TestErrorCodes ensures that error code format, mappings and
|
||||||
// marshaling/unmarshaling. round trips are stable.
|
// marshaling/unmarshaling. round trips are stable.
|
||||||
func TestErrorCodes(t *testing.T) {
|
func TestErrorCodes(t *testing.T) {
|
||||||
for ec, _ := range errorCodeStrings {
|
for ec := range errorCodeStrings {
|
||||||
if ec.String() != errorCodeStrings[ec] {
|
if ec.String() != errorCodeStrings[ec] {
|
||||||
t.Fatalf("error code string incorrect: %q != %q", ec.String(), errorCodeStrings[ec])
|
t.Fatalf("error code string incorrect: %q != %q", ec.String(), errorCodeStrings[ec])
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user