summaryrefslogtreecommitdiff
path: root/distribution/manifest_test.go
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2022-09-23 22:37:50 +0200
committerSebastiaan van Stijn <github@gone.nl>2022-09-28 01:58:52 +0200
commit8a2e1245d42d3fb1d27e61b83774354129eb123a (patch)
treed781813d37e691ff8538d314e9618805846ecc66 /distribution/manifest_test.go
parentf63dea43378506ba653545ee06f0da422f160ad9 (diff)
downloaddocker-8a2e1245d42d3fb1d27e61b83774354129eb123a.tar.gz
runconfig, oci, image, layer, distribution: fix empty-lines (revive)
runconfig/config_test.go:23:46: empty-lines: extra empty line at the start of a block (revive) runconfig/config_test.go:75:55: empty-lines: extra empty line at the start of a block (revive) oci/devices_linux.go:57:34: empty-lines: extra empty line at the start of a block (revive) oci/devices_linux.go:60:69: empty-lines: extra empty line at the start of a block (revive) image/fs_test.go:53:38: empty-lines: extra empty line at the end of a block (revive) image/tarexport/save.go:88:29: empty-lines: extra empty line at the end of a block (revive) layer/layer_unix_test.go:21:34: empty-lines: extra empty line at the end of a block (revive) distribution/xfer/download.go:302:9: empty-lines: extra empty line at the end of a block (revive) distribution/manifest_test.go:154:99: empty-lines: extra empty line at the end of a block (revive) distribution/manifest_test.go:329:52: empty-lines: extra empty line at the end of a block (revive) distribution/manifest_test.go:354:59: empty-lines: extra empty line at the end of a block (revive) registry/config_test.go:323:42: empty-lines: extra empty line at the end of a block (revive) registry/config_test.go:350:33: empty-lines: extra empty line at the end of a block (revive) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'distribution/manifest_test.go')
-rw-r--r--distribution/manifest_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/distribution/manifest_test.go b/distribution/manifest_test.go
index 52b7c3e676..072e686a50 100644
--- a/distribution/manifest_test.go
+++ b/distribution/manifest_test.go
@@ -171,7 +171,6 @@ func TestManifestStore(t *testing.T) {
err = w.Commit(ctx, desc.Size, desc.Digest, opts...)
assert.NilError(t, err)
-
}
// All tests should end up with no active ingest
@@ -348,7 +347,6 @@ func TestDetectManifestBlobMediaType(t *testing.T) {
assert.Equal(t, mt, tc.expected)
})
}
-
}
func TestDetectManifestBlobMediaTypeInvalid(t *testing.T) {
@@ -418,5 +416,4 @@ func TestDetectManifestBlobMediaTypeInvalid(t *testing.T) {
assert.Equal(t, mt, "")
})
}
-
}