Skip to content

Commit

Permalink
Remove unexpected blank lines
Browse files Browse the repository at this point in the history
golangci-lint linter: whitespace

Signed-off-by: Miloslav Trmač <[email protected]>
  • Loading branch information
mtrmac committed Feb 6, 2023
1 parent 835cb84 commit d38ad9f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion docker/reference/normalize_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

}
}
}
Expand Down
2 changes: 0 additions & 2 deletions docker/reference/reference_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ func TestReferenceParse(t *testing.T) {
} else if ok {
failf("unexpected digested type")
}

}
}

Expand Down Expand Up @@ -462,7 +461,6 @@ func TestSerialization(t *testing.T) {
if _, ok := fieldInterface.(Reference); ok {
failf("field should not implement Reference interface")
}

}
}

Expand Down
2 changes: 0 additions & 2 deletions pkg/docker/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,6 @@ func TestRemoveAuthentication(t *testing.T) {
},
},
} {

content, err := json.Marshal(&tc.config)
require.NoError(t, err)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d38ad9f

Please sign in to comment.