aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/common_test.go
diff options
context:
space:
mode:
authormarwan-at-work <marwan.sameer@gmail.com>2018-01-09 20:16:14 -0500
committermarwan-at-work <marwan.sameer@gmail.com>2018-01-09 20:16:14 -0500
commit483e1911fcb54ebaa115c7c612438e32238928d9 (patch)
tree0b5c74443d244e27d6f776f10f10ca8e5fe038bd /_examples/common_test.go
parentbf3b1f1fb9e0a04d0f87511a7ded2562b48a19d8 (diff)
downloadgo-git-483e1911fcb54ebaa115c7c612438e32238928d9.tar.gz
add branch add/remove example
Diffstat (limited to '_examples/common_test.go')
-rw-r--r--_examples/common_test.go25
1 files changed, 13 insertions, 12 deletions
diff --git a/_examples/common_test.go b/_examples/common_test.go
index 6f8df45..8c17dfb 100644
--- a/_examples/common_test.go
+++ b/_examples/common_test.go
@@ -15,18 +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{
- "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_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)},
}
var ignored = map[string]bool{}