diff options
author | ferhat elmas <elmas.ferhat@gmail.com> | 2017-11-30 01:50:43 +0100 |
---|---|---|
committer | ferhat elmas <elmas.ferhat@gmail.com> | 2017-11-30 01:50:43 +0100 |
commit | 3452c3bde5c0bddfd52bb827d07d4a1e1ed3fb09 (patch) | |
tree | ad76444a1116647465341c02a8b49a273d363eed | |
parent | 174fd8e5b2150dbd4cf522bb4a98fb9d79ebc6f4 (diff) | |
download | go-git-3452c3bde5c0bddfd52bb827d07d4a1e1ed3fb09.tar.gz |
all: gofmt -s
-rw-r--r-- | _examples/common_test.go | 22 | ||||
-rw-r--r-- | plumbing/format/index/decoder_test.go | 2 | ||||
-rw-r--r-- | plumbing/format/packfile/encoder_advanced_test.go | 2 | ||||
-rw-r--r-- | plumbing/format/packfile/scanner_test.go | 2 | ||||
-rw-r--r-- | plumbing/object/change_adaptor_test.go | 2 | ||||
-rw-r--r-- | plumbing/object/difftree_test.go | 2 | ||||
-rw-r--r-- | plumbing/object/file_test.go | 2 | ||||
-rw-r--r-- | plumbing/object/object_test.go | 2 | ||||
-rw-r--r-- | plumbing/revlist/revlist_test.go | 2 | ||||
-rw-r--r-- | plumbing/transport/http/receive_pack_test.go | 2 | ||||
-rw-r--r-- | plumbing/transport/ssh/upload_pack_test.go | 2 | ||||
-rw-r--r-- | storage/test/storage_suite.go | 2 |
12 files changed, 22 insertions, 22 deletions
diff --git a/_examples/common_test.go b/_examples/common_test.go index 9eeb643..d164297 100644 --- a/_examples/common_test.go +++ b/_examples/common_test.go @@ -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{} diff --git a/plumbing/format/index/decoder_test.go b/plumbing/format/index/decoder_test.go index 8940bfb..b612ebb 100644 --- a/plumbing/format/index/decoder_test.go +++ b/plumbing/format/index/decoder_test.go @@ -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) } diff --git a/plumbing/format/packfile/encoder_advanced_test.go b/plumbing/format/packfile/encoder_advanced_test.go index 8011596..69d6b39 100644 --- a/plumbing/format/packfile/encoder_advanced_test.go +++ b/plumbing/format/packfile/encoder_advanced_test.go @@ -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 { diff --git a/plumbing/format/packfile/scanner_test.go b/plumbing/format/packfile/scanner_test.go index ab87642..000be7f 100644 --- a/plumbing/format/packfile/scanner_test.go +++ b/plumbing/format/packfile/scanner_test.go @@ -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 { diff --git a/plumbing/object/change_adaptor_test.go b/plumbing/object/change_adaptor_test.go index dd2921d..803c3b8 100644 --- a/plumbing/object/change_adaptor_test.go +++ b/plumbing/object/change_adaptor_test.go @@ -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 { diff --git a/plumbing/object/difftree_test.go b/plumbing/object/difftree_test.go index c9344b8..40af8f2 100644 --- a/plumbing/object/difftree_test.go +++ b/plumbing/object/difftree_test.go @@ -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 { diff --git a/plumbing/object/file_test.go b/plumbing/object/file_test.go index 2288697..edb82d0 100644 --- a/plumbing/object/file_test.go +++ b/plumbing/object/file_test.go @@ -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 { diff --git a/plumbing/object/object_test.go b/plumbing/object/object_test.go index 2ac5d12..4f0fcb3 100644 --- a/plumbing/object/object_test.go +++ b/plumbing/object/object_test.go @@ -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) } diff --git a/plumbing/revlist/revlist_test.go b/plumbing/revlist/revlist_test.go index e6419f4..55d9bca 100644 --- a/plumbing/revlist/revlist_test.go +++ b/plumbing/revlist/revlist_test.go @@ -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) } diff --git a/plumbing/transport/http/receive_pack_test.go b/plumbing/transport/http/receive_pack_test.go index 737d792..abd69b3 100644 --- a/plumbing/transport/http/receive_pack_test.go +++ b/plumbing/transport/http/receive_pack_test.go @@ -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 { diff --git a/plumbing/transport/ssh/upload_pack_test.go b/plumbing/transport/ssh/upload_pack_test.go index 56d1601..87fd4f5 100644 --- a/plumbing/transport/ssh/upload_pack_test.go +++ b/plumbing/transport/ssh/upload_pack_test.go @@ -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 { diff --git a/storage/test/storage_suite.go b/storage/test/storage_suite.go index 18e0086..79a12c5 100644 --- a/storage/test/storage_suite.go +++ b/storage/test/storage_suite.go @@ -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 { |