Skip to content

Commit c85c5c9

Browse files
authored
Merge pull request #1148 from deining/fix-typos
Fix typos
2 parents 9973a38 + a22456f commit c85c5c9

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

config/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ func (s *ConfigSuite) TestRemoveUrlOptions(c *C) {
367367
buf, err = cfg.Marshal()
368368
c.Assert(err, IsNil)
369369
if strings.Contains(string(buf), "url") {
370-
c.Fatal("conifg should not contain any url sections")
370+
c.Fatal("config should not contain any url sections")
371371
}
372372
c.Assert(err, IsNil)
373373
}

storage/filesystem/dotgit/dotgit_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ func (s *SuiteDotGit) TestDeletedRefs(c *C) {
10361036
c.Assert(refs[0].Name(), Equals, plumbing.ReferenceName("refs/heads/foo"))
10371037
}
10381038

1039-
// Checks that seting a reference that has been packed and checking its old value is successful
1039+
// Checks that setting a reference that has been packed and checking its old value is successful
10401040
func (s *SuiteDotGit) TestSetPackedRef(c *C) {
10411041
fs := s.TemporalFilesystem(c)
10421042

utils/merkletrie/difftree.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package merkletrie
1111
// corresponding changes and move the iterators further over both
1212
// trees.
1313
//
14-
// The table bellow show all the possible comparison results, along
14+
// The table below shows all the possible comparison results, along
1515
// with what changes should we produce and how to advance the
1616
// iterators.
1717
//

utils/sync/bufio.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var bufioReader = sync.Pool{
1313
}
1414

1515
// GetBufioReader returns a *bufio.Reader that is managed by a sync.Pool.
16-
// Returns a bufio.Reader that is resetted with reader and ready for use.
16+
// Returns a bufio.Reader that is reset with reader and ready for use.
1717
//
1818
// After use, the *bufio.Reader should be put back into the sync.Pool
1919
// by calling PutBufioReader.

utils/sync/bytes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func PutByteSlice(buf *[]byte) {
3535
}
3636

3737
// GetBytesBuffer returns a *bytes.Buffer that is managed by a sync.Pool.
38-
// Returns a buffer that is resetted and ready for use.
38+
// Returns a buffer that is reset and ready for use.
3939
//
4040
// After use, the *bytes.Buffer should be put back into the sync.Pool
4141
// by calling PutBytesBuffer.

utils/sync/zlib.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type ZLibReader struct {
3535
}
3636

3737
// GetZlibReader returns a ZLibReader that is managed by a sync.Pool.
38-
// Returns a ZLibReader that is resetted using a dictionary that is
38+
// Returns a ZLibReader that is reset using a dictionary that is
3939
// also managed by a sync.Pool.
4040
//
4141
// After use, the ZLibReader should be put back into the sync.Pool
@@ -58,7 +58,7 @@ func PutZlibReader(z ZLibReader) {
5858
}
5959

6060
// GetZlibWriter returns a *zlib.Writer that is managed by a sync.Pool.
61-
// Returns a writer that is resetted with w and ready for use.
61+
// Returns a writer that is reset with w and ready for use.
6262
//
6363
// After use, the *zlib.Writer should be put back into the sync.Pool
6464
// by calling PutZlibWriter.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy