Fix remaining wsl_v5 whitespace findings (refs #61)
Insert the blank line wsl_v5 requires above `defer` and `go` statements that share no variables with the statement above them. Applied mechanically via `make lint-fix`; the diff is 60 added blank lines and nothing else.
This commit is contained in:
@@ -147,6 +147,7 @@ func (ts *TestServer) Client() *s3.Client {
|
||||
//nolint:paralleltest // test servers share a fixed localhost port
|
||||
func TestBasicS3Operations(t *testing.T) {
|
||||
ts := NewTestServer(t)
|
||||
|
||||
defer func() {
|
||||
err := ts.Cleanup()
|
||||
if err != nil {
|
||||
@@ -179,6 +180,7 @@ func TestBasicS3Operations(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("failed to get object: %v", err)
|
||||
}
|
||||
|
||||
defer func() {
|
||||
err := result.Body.Close()
|
||||
if err != nil {
|
||||
@@ -202,6 +204,7 @@ func TestBasicS3Operations(t *testing.T) {
|
||||
//nolint:paralleltest // test servers share a fixed localhost port
|
||||
func TestBlobOperations(t *testing.T) {
|
||||
ts := NewTestServer(t)
|
||||
|
||||
defer func() {
|
||||
err := ts.Cleanup()
|
||||
if err != nil {
|
||||
@@ -268,6 +271,7 @@ func TestBlobOperations(t *testing.T) {
|
||||
//nolint:paralleltest // test servers share a fixed localhost port
|
||||
func TestMetadataOperations(t *testing.T) {
|
||||
ts := NewTestServer(t)
|
||||
|
||||
defer func() {
|
||||
err := ts.Cleanup()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user