Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit81547f4

Browse files
committed
Add tests for GitHub discussions support.
1 parent2f22681 commit81547f4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

‎pkg/github/discussions_test.go

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package github
2+
3+
import (
4+
"context"
5+
"net/http"
6+
"testing"
7+
8+
"github.com/google/go-github/v69/github"
9+
"github.com/migueleliasweb/go-github-mock/src/mock"
10+
"github.com/stretchr/testify/assert"
11+
"github.com/stretchr/testify/require"
12+
)
13+
14+
funcTest_ListDiscussions(t*testing.T) {
15+
// Test implementation here
16+
}
17+
18+
funcTest_GetDiscussion(t*testing.T) {
19+
// Test implementation here
20+
}
21+
22+
funcTest_CreateDiscussion(t*testing.T) {
23+
// Test implementation here
24+
}
25+
26+
funcTest_AddDiscussionComment(t*testing.T) {
27+
// Test implementation here
28+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp