diff options
| author | Max Resnick <max@ofmax.li> | 2024-04-09 20:53:27 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2024-04-15 21:50:00 -0700 |
| commit | cf7f32e12ca118e51723a87afee05770ea12c066 (patch) | |
| tree | 6933a2b72e704d1d043014907dacdb7d7ff6ba9d /internal/admin/model_test.go | |
| parent | 888cf9db02396c2bf093752ec76b4b9654110dd6 (diff) | |
| download | go-git-server-cf7f32e12ca118e51723a87afee05770ea12c066.tar.gz | |
chore: logging/err cleanup
Diffstat (limited to 'internal/admin/model_test.go')
| -rw-r--r-- | internal/admin/model_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/admin/model_test.go b/internal/admin/model_test.go index 85d6ed1..6f8531d 100644 --- a/internal/admin/model_test.go +++ b/internal/admin/model_test.go @@ -299,7 +299,7 @@ func TestRepoReconcile(t *testing.T) { }, } repoPath := filepath.Join(tempDir, fmt.Sprintf("%s.git", repo.Name)) - repo.ReconcileRepo(tempDir) + _ = repo.ReconcileRepo(tempDir) if _, err := os.Stat(repoPath); errors.Is(err, fs.ErrNotExist) { t.Fatal("expected repo to be created, but does not exist") } @@ -314,7 +314,7 @@ bare = true t.Fatal(err) } // re-reconcile - repo.ReconcileRepo(tempDir) + _ = repo.ReconcileRepo(tempDir) content, err := os.ReadFile(tempConfigFile) if err != nil { t.Fatal(err) |