Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit e20d334

Browse files
authored
Merge pull request go-git#672 from ferhatelmas/gofmt-s
all: gofmt -s
2 parents b0f6b47 + 3452c3b commit e20d334

File tree

12 files changed

+22
-22
lines changed

12 files changed

+22
-22
lines changed

_examples/common_test.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ var examplesTest = flag.Bool("examples", false, "run the examples tests")
1515
var defaultURL = "https://github.com/git-fixtures/basic.git"
1616

1717
var args = map[string][]string{
18-
"checkout": []string{defaultURL, tempFolder(), "35e85108805c84807bc66a02d91535e1e24b38b9"},
19-
"clone": []string{defaultURL, tempFolder()},
20-
"context": []string{defaultURL, tempFolder()},
21-
"commit": []string{cloneRepository(defaultURL, tempFolder())},
22-
"custom_http": []string{defaultURL},
23-
"open": []string{cloneRepository(defaultURL, tempFolder())},
24-
"progress": []string{defaultURL, tempFolder()},
25-
"push": []string{setEmptyRemote(cloneRepository(defaultURL, tempFolder()))},
26-
"showcase": []string{defaultURL, tempFolder()},
27-
"tag": []string{cloneRepository(defaultURL, tempFolder())},
28-
"pull": []string{createRepositoryWithRemote(tempFolder(), defaultURL)},
18+
"checkout": {defaultURL, tempFolder(), "35e85108805c84807bc66a02d91535e1e24b38b9"},
19+
"clone": {defaultURL, tempFolder()},
20+
"context": {defaultURL, tempFolder()},
21+
"commit": {cloneRepository(defaultURL, tempFolder())},
22+
"custom_http": {defaultURL},
23+
"open": {cloneRepository(defaultURL, tempFolder())},
24+
"progress": {defaultURL, tempFolder()},
25+
"push": {setEmptyRemote(cloneRepository(defaultURL, tempFolder()))},
26+
"showcase": {defaultURL, tempFolder()},
27+
"tag": {cloneRepository(defaultURL, tempFolder())},
28+
"pull": {createRepositoryWithRemote(tempFolder(), defaultURL)},
2929
}
3030

3131
var ignored = map[string]bool{}

plumbing/format/index/decoder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"gopkg.in/src-d/go-git.v4/plumbing"
77
"gopkg.in/src-d/go-git.v4/plumbing/filemode"
88

9-
"gopkg.in/src-d/go-git-fixtures.v3"
109
. "gopkg.in/check.v1"
10+
"gopkg.in/src-d/go-git-fixtures.v3"
1111
)
1212

1313
func Test(t *testing.T) { TestingT(t) }

plumbing/format/packfile/encoder_advanced_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"gopkg.in/src-d/go-git.v4/storage/filesystem"
1111
"gopkg.in/src-d/go-git.v4/storage/memory"
1212

13-
"gopkg.in/src-d/go-git-fixtures.v3"
1413
. "gopkg.in/check.v1"
14+
"gopkg.in/src-d/go-git-fixtures.v3"
1515
)
1616

1717
type EncoderAdvancedSuite struct {

plumbing/format/packfile/scanner_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

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

9-
"gopkg.in/src-d/go-git-fixtures.v3"
109
. "gopkg.in/check.v1"
10+
"gopkg.in/src-d/go-git-fixtures.v3"
1111
)
1212

1313
type ScannerSuite struct {

plumbing/object/change_adaptor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"gopkg.in/src-d/go-git.v4/utils/merkletrie"
1111
"gopkg.in/src-d/go-git.v4/utils/merkletrie/noder"
1212

13-
"gopkg.in/src-d/go-git-fixtures.v3"
1413
. "gopkg.in/check.v1"
14+
"gopkg.in/src-d/go-git-fixtures.v3"
1515
)
1616

1717
type ChangeAdaptorSuite struct {

plumbing/object/difftree_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"gopkg.in/src-d/go-git.v4/storage/memory"
1212
"gopkg.in/src-d/go-git.v4/utils/merkletrie"
1313

14-
"gopkg.in/src-d/go-git-fixtures.v3"
1514
. "gopkg.in/check.v1"
15+
"gopkg.in/src-d/go-git-fixtures.v3"
1616
)
1717

1818
type DiffTreeSuite struct {

plumbing/object/file_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"gopkg.in/src-d/go-git.v4/plumbing/storer"
99
"gopkg.in/src-d/go-git.v4/storage/filesystem"
1010

11-
"gopkg.in/src-d/go-git-fixtures.v3"
1211
. "gopkg.in/check.v1"
12+
"gopkg.in/src-d/go-git-fixtures.v3"
1313
)
1414

1515
type FileSuite struct {

plumbing/object/object_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"gopkg.in/src-d/go-git.v4/plumbing/storer"
1212
"gopkg.in/src-d/go-git.v4/storage/filesystem"
1313

14-
"gopkg.in/src-d/go-git-fixtures.v3"
1514
. "gopkg.in/check.v1"
15+
"gopkg.in/src-d/go-git-fixtures.v3"
1616
)
1717

1818
func Test(t *testing.T) { TestingT(t) }

plumbing/revlist/revlist_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"gopkg.in/src-d/go-git.v4/plumbing/storer"
99
"gopkg.in/src-d/go-git.v4/storage/filesystem"
1010

11-
"gopkg.in/src-d/go-git-fixtures.v3"
1211
. "gopkg.in/check.v1"
12+
"gopkg.in/src-d/go-git-fixtures.v3"
1313
)
1414

1515
func Test(t *testing.T) { TestingT(t) }

plumbing/transport/http/receive_pack_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package http
33
import (
44
"gopkg.in/src-d/go-git.v4/plumbing/transport/test"
55

6-
"gopkg.in/src-d/go-git-fixtures.v3"
76
. "gopkg.in/check.v1"
7+
"gopkg.in/src-d/go-git-fixtures.v3"
88
)
99

1010
type ReceivePackSuite struct {

plumbing/transport/ssh/upload_pack_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import (
1515
"gopkg.in/src-d/go-git.v4/plumbing/transport/test"
1616

1717
"github.com/gliderlabs/ssh"
18-
"gopkg.in/src-d/go-git-fixtures.v3"
1918
stdssh "golang.org/x/crypto/ssh"
2019
. "gopkg.in/check.v1"
20+
"gopkg.in/src-d/go-git-fixtures.v3"
2121
)
2222

2323
type UploadPackSuite struct {

storage/test/storage_suite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"gopkg.in/src-d/go-git.v4/plumbing/storer"
1414
"gopkg.in/src-d/go-git.v4/storage"
1515

16-
"gopkg.in/src-d/go-git-fixtures.v3"
1716
. "gopkg.in/check.v1"
17+
"gopkg.in/src-d/go-git-fixtures.v3"
1818
)
1919

2020
type Storer interface {

0 commit comments

Comments
 (0)