Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

format/pktline: review and improving coverage #1

Merged
merged 1 commit into from
Oct 23, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"gopkg.in/sourcegraph/go-vcsurl.v1"
"gopkg.in/src-d/go-git.v2/pktline"
"gopkg.in/src-d/go-git.v2/formats/pktline"
)

const GitUploadPackServiceName = "git-upload-pack"
Expand Down Expand Up @@ -160,5 +160,5 @@ func (r *GitUploadPackRequest) Reader() *strings.Reader {
e.AddFlush()
e.AddLine("done")

return e.GetReader()
return e.Reader()
}
2 changes: 1 addition & 1 deletion clients/common/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"

. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git.v2/pktline"
"gopkg.in/src-d/go-git.v2/formats/pktline"
)

func Test(t *testing.T) { TestingT(t) }
Expand Down
2 changes: 1 addition & 1 deletion clients/http/git_upload_pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"gopkg.in/src-d/go-git.v2/clients/common"
"gopkg.in/src-d/go-git.v2/pktline"
"gopkg.in/src-d/go-git.v2/formats/pktline"
)

type GitUploadPackService struct {
Expand Down