projects/aports·blob master · refs

10 lines · 370 B

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