diff options
| author | Max Resnick <max@ofmax.li> | 2025-04-08 21:41:59 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2025-05-26 21:57:12 -0700 |
| commit | 78098f23e9a910f3b37fbd3f7c1939ad10ec40ad (patch) | |
| tree | 6432695fcc218089a90e1c32f4e1601a14124de4 /internal/git/handler_test.go | |
| parent | 7f3b59980e3b9d8d878aa57f4b01b9d4cc1eab0c (diff) | |
| download | go-git-server-78098f23e9a910f3b37fbd3f7c1939ad10ec40ad.tar.gz | |
feat: refactor of authenticaitonrefactor-authz-scheme
Diffstat (limited to 'internal/git/handler_test.go')
| -rw-r--r-- | internal/git/handler_test.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/internal/git/handler_test.go b/internal/git/handler_test.go index f9b4cd7..95f1bc7 100644 --- a/internal/git/handler_test.go +++ b/internal/git/handler_test.go @@ -1,14 +1,11 @@ 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) - } + dir := t.TempDir() _ = GitHttpBackendHandler(dir, "git http-backend") } |