refactor: manually modernize Go (#349)

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben authored and GitHub committed 2026-05-04 13:20:48 +10:00
1 parent 4503b17046
commit d23f1bdc00
5 files changed
+7 -10

No files matched your search

@@ -30,8 +30,7 @@ func TestContainerFingerprint_EqualCoversAllFields(t *testing.T) {
assert.True(t, base.Equal(base), "base fingerprint must be equal to itself")
rt := reflect.TypeOf(base)
for i := 0; i < rt.NumField(); i++ {
field := rt.Field(i)
for field := range rt.Fields() {
t.Run(field.Name, func(t *testing.T) {
t.Parallel()