diff options
author | Santiago M. Mola <santi@mola.io> | 2017-04-26 13:30:03 +0200 |
---|---|---|
committer | Santiago M. Mola <santi@mola.io> | 2017-04-26 14:52:42 +0200 |
commit | 250ba298a9ec93ab3c62a8aa60834cc1889f65ac (patch) | |
tree | 7196dd8c91142f75b8569a2dbf72f1de0f5f2b67 /plumbing/format/packfile/scanner_test.go | |
parent | 45ac03181f61477d28e031725c68f938cb379554 (diff) | |
download | go-git-250ba298a9ec93ab3c62a8aa60834cc1889f65ac.tar.gz |
format/packfile: rename Seek to SeekFromStart
This has signature and behavior distinct from io.Seeker,
go vet complains about this, so we change it to a different name
to avoid confusion.
Diffstat (limited to 'plumbing/format/packfile/scanner_test.go')
-rw-r--r-- | plumbing/format/packfile/scanner_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plumbing/format/packfile/scanner_test.go b/plumbing/format/packfile/scanner_test.go index f2aa5fb..1ca8b6e 100644 --- a/plumbing/format/packfile/scanner_test.go +++ b/plumbing/format/packfile/scanner_test.go @@ -4,9 +4,10 @@ import ( "bytes" "io" - . "gopkg.in/check.v1" - "github.com/src-d/go-git-fixtures" "gopkg.in/src-d/go-git.v4/plumbing" + + "github.com/src-d/go-git-fixtures" + . "gopkg.in/check.v1" ) type ScannerSuite struct { |