aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/index/encoder_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2019-11-01 10:08:16 +0100
committerGitHub <noreply@github.com>2019-11-01 10:08:16 +0100
commit1a7db85bca7027d90afdb5ce711622aaac9feaed (patch)
treec550ea453e67a95a22b3dd557b4e1d5044bd5737 /plumbing/format/index/encoder_test.go
parent3895dfa31c54adf83fdaffd90cf1b5fd4e5d7ff0 (diff)
parent81627ab53e269a762b769b47c004cb4309452492 (diff)
downloadgo-git-1a7db85bca7027d90afdb5ce711622aaac9feaed.tar.gz
Merge pull request #1231 from alexandear/fix-typos
*: fix typos in comments, variables and function names
Diffstat (limited to 'plumbing/format/index/encoder_test.go')
-rw-r--r--plumbing/format/index/encoder_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/plumbing/format/index/encoder_test.go b/plumbing/format/index/encoder_test.go
index 78cbbba..ea121fc 100644
--- a/plumbing/format/index/encoder_test.go
+++ b/plumbing/format/index/encoder_test.go
@@ -55,7 +55,7 @@ func (s *IndexSuite) TestEncode(c *C) {
}
-func (s *IndexSuite) TestEncodeUnsuportedVersion(c *C) {
+func (s *IndexSuite) TestEncodeUnsupportedVersion(c *C) {
idx := &Index{Version: 3}
buf := bytes.NewBuffer(nil)
@@ -64,7 +64,7 @@ func (s *IndexSuite) TestEncodeUnsuportedVersion(c *C) {
c.Assert(err, Equals, ErrUnsupportedVersion)
}
-func (s *IndexSuite) TestEncodeWithIntentToAddUnsuportedVersion(c *C) {
+func (s *IndexSuite) TestEncodeWithIntentToAddUnsupportedVersion(c *C) {
idx := &Index{
Version: 2,
Entries: []*Entry{{IntentToAdd: true}},
@@ -76,7 +76,7 @@ func (s *IndexSuite) TestEncodeWithIntentToAddUnsuportedVersion(c *C) {
c.Assert(err, Equals, ErrUnsupportedVersion)
}
-func (s *IndexSuite) TestEncodeWithSkipWorktreeUnsuportedVersion(c *C) {
+func (s *IndexSuite) TestEncodeWithSkipWorktreeUnsupportedVersion(c *C) {
idx := &Index{
Version: 2,
Entries: []*Entry{{SkipWorktree: true}},