File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
storage/filesystem/dotgit Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ func (s *ConfigSuite) TestRemoveUrlOptions(c *C) {
367
367
buf , err = cfg .Marshal ()
368
368
c .Assert (err , IsNil )
369
369
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" )
371
371
}
372
372
c .Assert (err , IsNil )
373
373
}
Original file line number Diff line number Diff line change @@ -1036,7 +1036,7 @@ func (s *SuiteDotGit) TestDeletedRefs(c *C) {
1036
1036
c .Assert (refs [0 ].Name (), Equals , plumbing .ReferenceName ("refs/heads/foo" ))
1037
1037
}
1038
1038
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
1040
1040
func (s * SuiteDotGit ) TestSetPackedRef (c * C ) {
1041
1041
fs := s .TemporalFilesystem (c )
1042
1042
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ package merkletrie
11
11
// corresponding changes and move the iterators further over both
12
12
// trees.
13
13
//
14
- // The table bellow show all the possible comparison results, along
14
+ // The table below shows all the possible comparison results, along
15
15
// with what changes should we produce and how to advance the
16
16
// iterators.
17
17
//
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ var bufioReader = sync.Pool{
13
13
}
14
14
15
15
// 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.
17
17
//
18
18
// After use, the *bufio.Reader should be put back into the sync.Pool
19
19
// by calling PutBufioReader.
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ func PutByteSlice(buf *[]byte) {
35
35
}
36
36
37
37
// 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.
39
39
//
40
40
// After use, the *bytes.Buffer should be put back into the sync.Pool
41
41
// by calling PutBytesBuffer.
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ type ZLibReader struct {
35
35
}
36
36
37
37
// 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
39
39
// also managed by a sync.Pool.
40
40
//
41
41
// After use, the ZLibReader should be put back into the sync.Pool
@@ -58,7 +58,7 @@ func PutZlibReader(z ZLibReader) {
58
58
}
59
59
60
60
// 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.
62
62
//
63
63
// After use, the *zlib.Writer should be put back into the sync.Pool
64
64
// by calling PutZlibWriter.
You can’t perform that action at this time.
0 commit comments