aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/common_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2018-01-15 17:12:59 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2018-01-15 17:12:59 +0100
commit4d43799bf111a66b204312c79f1d0dd0d96108b1 (patch)
treeb1e536bf01a391dc762c3b92283dda75e4d54b5b /_examples/common_test.go
parent71e438ee1c3bdca714f138fcc6bb8c084989a521 (diff)
downloadgo-git-4d43799bf111a66b204312c79f1d0dd0d96108b1.tar.gz
_examples: branch example improvements
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
Diffstat (limited to '_examples/common_test.go')
-rw-r--r--_examples/common_test.go26
1 files changed, 13 insertions, 13 deletions
diff --git a/_examples/common_test.go b/_examples/common_test.go
index 8c17dfb..aa7c9b4 100644
--- a/_examples/common_test.go
+++ b/_examples/common_test.go
@@ -15,19 +15,19 @@ var examplesTest = flag.Bool("examples", false, "run the examples tests")
var defaultURL = "https://github.com/git-fixtures/basic.git"
var args = map[string][]string{
- "branch_add_remove": {defaultURL, tempFolder()},
- "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()))},
- "revision": {cloneRepository(defaultURL, tempFolder()), "master~2^"},
- "showcase": {defaultURL, tempFolder()},
- "tag": {cloneRepository(defaultURL, tempFolder())},
- "pull": {createRepositoryWithRemote(tempFolder(), defaultURL)},
+ "branch": {defaultURL, tempFolder()},
+ "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()))},
+ "revision": {cloneRepository(defaultURL, tempFolder()), "master~2^"},
+ "showcase": {defaultURL, tempFolder()},
+ "tag": {cloneRepository(defaultURL, tempFolder())},
+ "pull": {createRepositoryWithRemote(tempFolder(), defaultURL)},
}
var ignored = map[string]bool{}