Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
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
22 changes: 11 additions & 11 deletions _examples/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ var examplesTest = flag.Bool("examples", false, "run the examples tests")
var defaultURL = "https://github.com/git-fixtures/basic.git"

var args = map[string][]string{
"checkout": []string{defaultURL, tempFolder(), "35e85108805c84807bc66a02d91535e1e24b38b9"},
"clone": []string{defaultURL, tempFolder()},
"context": []string{defaultURL, tempFolder()},
"commit": []string{cloneRepository(defaultURL, tempFolder())},
"custom_http": []string{defaultURL},
"open": []string{cloneRepository(defaultURL, tempFolder())},
"progress": []string{defaultURL, tempFolder()},
"push": []string{setEmptyRemote(cloneRepository(defaultURL, tempFolder()))},
"showcase": []string{defaultURL, tempFolder()},
"tag": []string{cloneRepository(defaultURL, tempFolder())},
"pull": []string{createRepositoryWithRemote(tempFolder(), defaultURL)},
"checkout": {defaultURL, tempFolder(), "35e85108805c84807bc66a02d91535e1e24b38b9"},
"clone": {defaultURL, tempFolder()},
"context": {defaultURL, tempFolder()},
"commit": {cloneRepository(defaultURL, tempFolder())},
"custom_http": {defaultURL},
"open": {cloneRepository(defaultURL, tempFolder())},
"progress": {defaultURL, tempFolder()},
"push": {setEmptyRemote(cloneRepository(defaultURL, tempFolder()))},
"showcase": {defaultURL, tempFolder()},
"tag": {cloneRepository(defaultURL, tempFolder())},
"pull": {createRepositoryWithRemote(tempFolder(), defaultURL)},
}

var ignored = map[string]bool{}
Expand Down
2 changes: 1 addition & 1 deletion plumbing/format/index/decoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/filemode"

"gopkg.in/src-d/go-git-fixtures.v3"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
)

func Test(t *testing.T) { TestingT(t) }
Expand Down
2 changes: 1 addition & 1 deletion plumbing/format/packfile/encoder_advanced_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"gopkg.in/src-d/go-git.v4/storage/filesystem"
"gopkg.in/src-d/go-git.v4/storage/memory"

"gopkg.in/src-d/go-git-fixtures.v3"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
)

type EncoderAdvancedSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion plumbing/format/packfile/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

"gopkg.in/src-d/go-git.v4/plumbing"

"gopkg.in/src-d/go-git-fixtures.v3"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
)

type ScannerSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion plumbing/object/change_adaptor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"gopkg.in/src-d/go-git.v4/utils/merkletrie"
"gopkg.in/src-d/go-git.v4/utils/merkletrie/noder"

"gopkg.in/src-d/go-git-fixtures.v3"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
)

type ChangeAdaptorSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion plumbing/object/difftree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"gopkg.in/src-d/go-git.v4/storage/memory"
"gopkg.in/src-d/go-git.v4/utils/merkletrie"

"gopkg.in/src-d/go-git-fixtures.v3"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
)

type DiffTreeSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion plumbing/object/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"gopkg.in/src-d/go-git.v4/plumbing/storer"
"gopkg.in/src-d/go-git.v4/storage/filesystem"

"gopkg.in/src-d/go-git-fixtures.v3"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
)

type FileSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion plumbing/object/object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"gopkg.in/src-d/go-git.v4/plumbing/storer"
"gopkg.in/src-d/go-git.v4/storage/filesystem"

"gopkg.in/src-d/go-git-fixtures.v3"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
)

func Test(t *testing.T) { TestingT(t) }
Expand Down
2 changes: 1 addition & 1 deletion plumbing/revlist/revlist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"gopkg.in/src-d/go-git.v4/plumbing/storer"
"gopkg.in/src-d/go-git.v4/storage/filesystem"

"gopkg.in/src-d/go-git-fixtures.v3"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
)

func Test(t *testing.T) { TestingT(t) }
Expand Down
2 changes: 1 addition & 1 deletion plumbing/transport/http/receive_pack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package http
import (
"gopkg.in/src-d/go-git.v4/plumbing/transport/test"

"gopkg.in/src-d/go-git-fixtures.v3"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
)

type ReceivePackSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion plumbing/transport/ssh/upload_pack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
"gopkg.in/src-d/go-git.v4/plumbing/transport/test"

"github.com/gliderlabs/ssh"
"gopkg.in/src-d/go-git-fixtures.v3"
stdssh "golang.org/x/crypto/ssh"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
)

type UploadPackSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion storage/test/storage_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"gopkg.in/src-d/go-git.v4/plumbing/storer"
"gopkg.in/src-d/go-git.v4/storage"

"gopkg.in/src-d/go-git-fixtures.v3"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
)

type Storer interface {
Expand Down