aboutsummaryrefslogtreecommitdiff
path: root/internal/git/handler_test.go
blob: f9b4cd7a99e2fa7dae7cce688daf7bf1153800af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package git

import (
	"os"
	"testing"
)

func TestGitHandler(t *testing.T) {
	dir, err := os.MkdirTemp("", "go-git-tests")
	if err != nil {
		t.Fatalf("Couldn't create a temp directory for tests: %s", err)
	}
	_ = GitHttpBackendHandler(dir, "git http-backend")
}