blob: b6a5ba61cd23f06dd41977acfa78df0180344f60 (
plain) (
tree)
|
|
package bugcmd
import (
"testing"
"github.com/stretchr/testify/require"
"github.com/git-bug/git-bug/commands/bug/testenv"
)
func TestBugCommentNew(t *testing.T) {
const golden = "testdata/comment/add"
env, bugID, _ := testenv.NewTestEnvAndBugWithComment(t)
require.NoError(t, runBugComment(env, []string{bugID.String()}))
requireCommentsEqual(t, golden, env)
}
|