MCPcopy Index your code
hub / github.com/git-bug/git-bug / TestBugCommentNew

Function TestBugCommentNew

commands/bug/bug_comment_add_test.go:11–18  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

9)
10
11func TestBugCommentNew(t *testing.T) {
12 const golden = "testdata/comment/add"
13
14 env, bugID, _ := testenv.NewTestEnvAndBugWithComment(t)
15
16 require.NoError(t, runBugComment(env, []string{bugID.String()}))
17 requireCommentsEqual(t, golden, env)
18}

Callers

nothing calls this directly

Calls 4

runBugCommentFunction · 0.85
requireCommentsEqualFunction · 0.85
StringMethod · 0.65

Tested by

no test coverage detected