From 2b503ad6cd32fa8e265e36dd09ea76d53bc26950 Mon Sep 17 00:00:00 2001 From: marwan-at-work Date: Thu, 6 Apr 2017 15:57:48 -0400 Subject: add git checkout example + housekeeping --- _examples/common_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '_examples/common_test.go') diff --git a/_examples/common_test.go b/_examples/common_test.go index cb101e2..d812f2b 100644 --- a/_examples/common_test.go +++ b/_examples/common_test.go @@ -16,12 +16,13 @@ var examplesTest = flag.Bool("examples", false, "run the examples tests") var defaultURL = "https://github.com/mcuadros/basic.git" var args = map[string][]string{ - "showcase": []string{defaultURL, tempFolder()}, - "custom_http": []string{defaultURL}, + "checkout": []string{defaultURL, tempFolder(), "35e85108805c84807bc66a02d91535e1e24b38b9"}, "clone": []string{defaultURL, tempFolder()}, - "progress": []string{defaultURL, tempFolder()}, + "custom_http": []string{defaultURL}, "open": []string{cloneRepository(defaultURL, tempFolder())}, + "progress": []string{defaultURL, tempFolder()}, "push": []string{setEmptyRemote(cloneRepository(defaultURL, tempFolder()))}, + "showcase": []string{defaultURL, tempFolder()}, } var ignored = map[string]bool{} -- cgit