aboutsummaryrefslogtreecommitdiffstats
path: root/commit_test.go
blob: 14c2e74e4c8dce056637cebc90a3623c5637a5ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package git

import (
	. "gopkg.in/check.v1"
	"gopkg.in/src-d/go-git.v2/core"
)

type CommitCommon struct{}

var _ = Suite(&CommitCommon{})

func (s *CommitCommon) TestIterClose(c *C) {
	i := &iter{ch: make(chan core.Object, 1)}
	i.Close()
	i.Close()
}