diff options
author | David Lamb <asdfasdf.gh@mm.st> | 2023-12-02 23:24:30 +1100 |
---|---|---|
committer | David Lamb <asdfasdf.gh@mm.st> | 2024-02-21 17:11:13 +1100 |
commit | 920eab6b917d41718261ea4fa490d1e87eeb0cc9 (patch) | |
tree | bae28bc3dceb3f22b4da12b44aea16830a5059a1 /_examples | |
parent | ab4ce619a9b5fb0e302d98e58d5968a02fcfcf7c (diff) | |
download | go-git-920eab6b917d41718261ea4fa490d1e87eeb0cc9.tar.gz |
_examples: fix other example args + more ignores so example testing
completes
Diffstat (limited to '_examples')
-rw-r--r-- | _examples/common_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/_examples/common_test.go b/_examples/common_test.go index 0c7491f..5e3f753 100644 --- a/_examples/common_test.go +++ b/_examples/common_test.go @@ -14,6 +14,7 @@ var examplesTest = flag.Bool("examples", false, "run the examples tests") var defaultURL = "https://github.com/git-fixtures/basic.git" var args = map[string][]string{ + "blame": {defaultURL, "CHANGELOG"}, "branch": {defaultURL, tempFolder()}, "checkout": {defaultURL, tempFolder(), "35e85108805c84807bc66a02d91535e1e24b38b9"}, "checkout-branch": {defaultURL, tempFolder(), "branch"}, @@ -23,18 +24,23 @@ var args = map[string][]string{ "custom_http": {defaultURL}, "find-if-any-tag-point-head": {cloneRepository(defaultURL, tempFolder())}, "ls": {cloneRepository(defaultURL, tempFolder()), "HEAD", "vendor"}, + "ls-remote": {defaultURL}, "merge_base": {cloneRepository(defaultURL, tempFolder()), "--is-ancestor", "HEAD~3", "HEAD^"}, "open": {cloneRepository(defaultURL, tempFolder())}, "progress": {defaultURL, tempFolder()}, "pull": {createRepositoryWithRemote(tempFolder(), defaultURL)}, "push": {setEmptyRemote(cloneRepository(defaultURL, tempFolder()))}, "revision": {cloneRepository(defaultURL, tempFolder()), "master~2^"}, + "sha256": {tempFolder()}, "showcase": {defaultURL, tempFolder()}, "tag": {cloneRepository(defaultURL, tempFolder())}, } // tests not working / set-up var ignored = map[string]bool{ + "azure_devops": true, + "ls": true, + "sha256": true, "submodule": true, "tag-create-push": true, } |