diff options
Diffstat (limited to 'options_test.go')
-rw-r--r-- | options_test.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/options_test.go b/options_test.go index b9e9096..aa36dab 100644 --- a/options_test.go +++ b/options_test.go @@ -1,8 +1,8 @@ package git import ( - . "gopkg.in/check.v1" "github.com/go-git/go-git/v5/plumbing/object" + . "gopkg.in/check.v1" ) type OptionsSuite struct { @@ -18,12 +18,6 @@ func (s *OptionsSuite) TestCommitOptionsParentsFromHEAD(c *C) { c.Assert(o.Parents, HasLen, 1) } -func (s *OptionsSuite) TestCommitOptionsMissingAuthor(c *C) { - o := CommitOptions{} - err := o.Validate(s.Repository) - c.Assert(err, Equals, ErrMissingAuthor) -} - func (s *OptionsSuite) TestCommitOptionsCommitter(c *C) { sig := &object.Signature{} |