Remove unexpected blank lines

golangci-lint linter: whitespace

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač 2023-02-02 20:57:54 +01:00
parent 835cb841e9
commit d38ad9f724
3 changed files with 0 additions and 5 deletions

View File

@ -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)
}
}
}
}

View File

@ -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")
}
}
}

View File

@ -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)