aboutsummaryrefslogtreecommitdiffstats
path: root/_examples
diff options
context:
space:
mode:
authorFilip Navara <filip.navara@gmail.com>2019-05-07 11:48:52 +0200
committerFilip Navara <filip.navara@gmail.com>2019-05-07 11:48:52 +0200
commitd8471a32b6c3ab4521ee47db4c7f7b78f0a8363b (patch)
tree707e4fb6d67149af1d3e8c20bfa065d496b5dccb /_examples
parent944861a8dfe85938e84007f399e8ed94acbf5d68 (diff)
downloadgo-git-d8471a32b6c3ab4521ee47db4c7f7b78f0a8363b.tar.gz
Add test parameters for ls example
Signed-off-by: Filip Navara <filip.navara@gmail.com>
Diffstat (limited to '_examples')
-rw-r--r--_examples/common_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/_examples/common_test.go b/_examples/common_test.go
index aa7c9b4..47463a1 100644
--- a/_examples/common_test.go
+++ b/_examples/common_test.go
@@ -28,6 +28,7 @@ var args = map[string][]string{
"showcase": {defaultURL, tempFolder()},
"tag": {cloneRepository(defaultURL, tempFolder())},
"pull": {createRepositoryWithRemote(tempFolder(), defaultURL)},
+ "ls": {cloneRepository(defaultURL, tempFolder()), "HEAD", "vendor"},
}
var ignored = map[string]bool{}