···367367 buf, err = cfg.Marshal()
368368 c.Assert(err, IsNil)
369369 if strings.Contains(string(buf), "url") {
370370- c.Fatal("conifg should not contain any url sections")
370370+ c.Fatal("config should not contain any url sections")
371371 }
372372 c.Assert(err, IsNil)
373373}
+1-1
storage/filesystem/dotgit/dotgit_test.go
···10361036 c.Assert(refs[0].Name(), Equals, plumbing.ReferenceName("refs/heads/foo"))
10371037}
1038103810391039-// Checks that seting a reference that has been packed and checking its old value is successful
10391039+// Checks that setting a reference that has been packed and checking its old value is successful
10401040func (s *SuiteDotGit) TestSetPackedRef(c *C) {
10411041 fs := s.TemporalFilesystem(c)
10421042
+1-1
utils/merkletrie/difftree.go
···1111// corresponding changes and move the iterators further over both
1212// trees.
1313//
1414-// The table bellow show all the possible comparison results, along
1414+// 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//
+1-1
utils/sync/bufio.go
···1313}
14141515// GetBufioReader returns a *bufio.Reader that is managed by a sync.Pool.
1616-// Returns a bufio.Reader that is resetted with reader and ready for use.
1616+// 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.
+1-1
utils/sync/bytes.go
···3535}
36363737// GetBytesBuffer returns a *bytes.Buffer that is managed by a sync.Pool.
3838-// Returns a buffer that is resetted and ready for use.
3838+// 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.
+2-2
utils/sync/zlib.go
···3535}
36363737// GetZlibReader returns a ZLibReader that is managed by a sync.Pool.
3838-// Returns a ZLibReader that is resetted using a dictionary that is
3838+// 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
···5858}
59596060// GetZlibWriter returns a *zlib.Writer that is managed by a sync.Pool.
6161-// Returns a writer that is resetted with w and ready for use.
6161+// 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.