mirror of https://github.com/containers/image.git
Remove unexpected blank lines
golangci-lint linter: whitespace Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
835cb841e9
commit
d38ad9f724
|
|
@ -258,7 +258,6 @@ func TestParseRepositoryInfo(t *testing.T) {
|
|||
if expected, actual := tcase.RemoteName, Path(r); expected != actual {
|
||||
t.Fatalf("Invalid remoteName for %q. Expected %q, got %q", r, expected, actual)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -231,7 +231,6 @@ func TestReferenceParse(t *testing.T) {
|
|||
} else if ok {
|
||||
failf("unexpected digested type")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -462,7 +461,6 @@ func TestSerialization(t *testing.T) {
|
|||
if _, ok := fieldInterface.(Reference); ok {
|
||||
failf("field should not implement Reference interface")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -751,7 +751,6 @@ func TestRemoveAuthentication(t *testing.T) {
|
|||
},
|
||||
},
|
||||
} {
|
||||
|
||||
content, err := json.Marshal(&tc.config)
|
||||
require.NoError(t, err)
|
||||
|
||||
|
|
@ -857,7 +856,6 @@ func TestSetGetCredentials(t *testing.T) {
|
|||
useLegacyFormat: true,
|
||||
},
|
||||
} {
|
||||
|
||||
// Create a new empty SystemContext referring an empty auth.json
|
||||
tmpFile, err := os.CreateTemp("", "auth.json-")
|
||||
require.NoError(t, err)
|
||||
|
|
|
|||
Loading…
Reference in New Issue