aports/community/git-sizer/skip-test-exec.patch
2021-11-17 01:53:30 +01:00

11 lines
370 B
Diff

--- a/git_sizer_test.go
+++ b/git_sizer_test.go
@@ -46,6 +46,7 @@ func sizerExe(t *testing.T) string {
// Smoke test that the program runs.
func TestExec(t *testing.T) {
+ t.Skip("requires a git repository for testing")
cmd := exec.Command(sizerExe(t))
output, err := cmd.CombinedOutput()
assert.NoErrorf(t, err, "command failed; output: %#v", string(output))