From cf40f9293d2052671a79a29bacfa941c42238e25 Mon Sep 17 00:00:00 2001 From: "Babak K. Shandiz" Date: Tue, 28 Apr 2026 10:41:54 +0100 Subject: [PATCH] chore(discussion/client): polish and cleanup tests Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- pkg/cmd/discussion/client/client_impl_test.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pkg/cmd/discussion/client/client_impl_test.go b/pkg/cmd/discussion/client/client_impl_test.go index 824de4219..16c0813a2 100644 --- a/pkg/cmd/discussion/client/client_impl_test.go +++ b/pkg/cmd/discussion/client/client_impl_test.go @@ -105,10 +105,6 @@ func searchResp(hasNext bool, cursor string, count int, nodes string) string { `, count, hasNext, cursor, nodes) } -// --------------------------------------------------------------------------- -// List -// --------------------------------------------------------------------------- - func TestList(t *testing.T) { repo := ghrepo.New("OWNER", "REPO") @@ -1160,10 +1156,6 @@ func TestGetByNumber(t *testing.T) { } } -// --------------------------------------------------------------------------- -// GetWithComments -// --------------------------------------------------------------------------- - func TestGetWithComments(t *testing.T) { repo := ghrepo.New("OWNER", "REPO") @@ -1822,10 +1814,6 @@ func TestGetWithComments(t *testing.T) { } } -// --------------------------------------------------------------------------- -// GetCommentReplies -// --------------------------------------------------------------------------- - func TestGetCommentReplies(t *testing.T) { repo := ghrepo.New("OWNER", "REPO")