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

Function TestBugComment

commands/bug/bug_comment_test.go:17–25  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15)
16
17func TestBugComment(t *testing.T) {
18 const golden = "testdata/comment/message-only"
19
20 env, bug := testenv.NewTestEnvAndBug(t)
21
22 require.NoError(t, runBugComment(env, []string{bug.Human()}))
23
24 requireCommentsEqual(t, golden, env)
25}
26
27const gitDateFormat = "Mon Jan 2 15:04:05 2006 -0700"
28

Callers

nothing calls this directly

Calls 4

NewTestEnvAndBugFunction · 0.92
runBugCommentFunction · 0.85
requireCommentsEqualFunction · 0.85
HumanMethod · 0.45

Tested by

no test coverage detected