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 /_examples | |
parent | 174fd8e5b2150dbd4cf522bb4a98fb9d79ebc6f4 (diff) | |
download | go-git-3452c3bde5c0bddfd52bb827d07d4a1e1ed3fb09.tar.gz |
all: gofmt -s
Diffstat (limited to '_examples')
-rw-r--r-- | _examples/common_test.go | 22 |
1 files changed, 11 insertions, 11 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{} |