From c0c5226934efcf720d51902b560cf382819fdad7 Mon Sep 17 00:00:00 2001 From: claw Date: Wed, 13 May 2026 14:03:35 -0700 Subject: [PATCH] style: remove double blank lines in test files --- gitea/adapter_test.go | 1 - gitea/client_test.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/gitea/adapter_test.go b/gitea/adapter_test.go index a695233..75e2343 100644 --- a/gitea/adapter_test.go +++ b/gitea/adapter_test.go @@ -214,7 +214,6 @@ func TestAdapter_PostReview_EventTranslation(t *testing.T) { } } - func TestAdapter_PostReview_CommitID(t *testing.T) { var gotCommitID string server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { diff --git a/gitea/client_test.go b/gitea/client_test.go index 8525a72..df208dd 100644 --- a/gitea/client_test.go +++ b/gitea/client_test.go @@ -207,7 +207,6 @@ func TestPostReview_EmptyCommitID_OmittedFromPayload(t *testing.T) { } } - func TestGetPullRequest_Non200(t *testing.T) { server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusNotFound) @@ -1006,7 +1005,6 @@ func TestDoGet_RespectsContextCancellation(t *testing.T) { } } - // mockTransport is a test helper that returns errors for the first N calls, // then delegates to a real server. type mockTransport struct {