enable gofumpt formatter

Based on our discussion gofumpt won the vote so use that one via
golangci-lint.

https://github.com/containers/podman/discussions/27291

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2025-11-11 12:12:42 +01:00
parent 2555b8b413
commit 5c1ed12d8d
389 changed files with 1228 additions and 1600 deletions

View File

@@ -12,7 +12,6 @@ import (
)
var _ = Describe("podman system df", func() {
It("podman system df", func() {
session := podmanTest.Podman([]string{"create", ALPINE})
session.WaitWithDefaultTimeout()
@@ -58,7 +57,6 @@ var _ = Describe("podman system df", func() {
volumes = strings.Fields(session.OutputToStringArray()[3])
// percentages on volumes were being calculated incorrectly. Make sure we only report 100% and not above
Expect(volumes[6]).To(Equal("(100%)"), "percentage usage expected")
})
It("podman system df image with no tag", func() {
@@ -91,7 +89,6 @@ var _ = Describe("podman system df", func() {
for i, out := range session.OutputToStringArray() {
Expect(out).To(BeValidJSON(), "line %d failed to be parsed", i)
}
})
It("podman system df --format with --verbose", func() {
@@ -112,5 +109,4 @@ var _ = Describe("podman system df", func() {
Expect(session.OutputToString()).To(ContainSubstring("Reclaimable"))
Expect(session.OutputToString()).To(BeValidJSON())
})
})