Skip to content

Commit 12212dd

Browse files
author
David Lamb
committed
add args for other tests and more ignores for ones that don't work
1 parent ff9095c commit 12212dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_examples/common_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ var examplesTest = flag.Bool("examples", false, "run the examples tests")
1414
var defaultURL = "https://github.com/git-fixtures/basic.git"
1515

1616
var args = map[string][]string{
17+
"blame": {defaultURL, "CHANGELOG"},
1718
"branch": {defaultURL, tempFolder()},
1819
"checkout": {defaultURL, tempFolder(), "35e85108805c84807bc66a02d91535e1e24b38b9"},
1920
"checkout-branch": {defaultURL, tempFolder(), "branch"},
@@ -23,18 +24,23 @@ var args = map[string][]string{
2324
"custom_http": {defaultURL},
2425
"find-if-any-tag-point-head": {cloneRepository(defaultURL, tempFolder())},
2526
"ls": {cloneRepository(defaultURL, tempFolder()), "HEAD", "vendor"},
27+
"ls-remote": {defaultURL},
2628
"merge_base": {cloneRepository(defaultURL, tempFolder()), "--is-ancestor", "HEAD~3", "HEAD^"},
2729
"open": {cloneRepository(defaultURL, tempFolder())},
2830
"progress": {defaultURL, tempFolder()},
2931
"pull": {createRepositoryWithRemote(tempFolder(), defaultURL)},
3032
"push": {setEmptyRemote(cloneRepository(defaultURL, tempFolder()))},
3133
"revision": {cloneRepository(defaultURL, tempFolder()), "master~2^"},
34+
"sha256": {tempFolder()},
3235
"showcase": {defaultURL, tempFolder()},
3336
"tag": {cloneRepository(defaultURL, tempFolder())},
3437
}
3538

3639
// tests not working / set-up
3740
var ignored = map[string]bool{
41+
"azure_devops": true,
42+
"ls": true,
43+
"sha256": true,
3844
"submodule": true,
3945
"tag-create-push": true,
4046
}

0 commit comments

Comments
 (0)