From a3a6493cac83a92f696e912c996d29bc3eac28cc Mon Sep 17 00:00:00 2001 From: Kemal Zebari Date: Mon, 13 Jan 2025 00:24:29 -0800 Subject: [PATCH] Fix typo in test --- routers/web/repo/release_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/repo/release_test.go b/routers/web/repo/release_test.go index 9f79c6f501b7e..97dec10c809cd 100644 --- a/routers/web/repo/release_test.go +++ b/routers/web/repo/release_test.go @@ -75,7 +75,7 @@ func TestNewReleasePost(t *testing.T) { Target: testCase.Form.Target, Title: testCase.Form.Title, Note: testCase.Form.Content, - IsTag: true, + IsTag: testCase.IsTag, }, unittest.Cond("is_draft=?", len(testCase.Form.Draft) > 0)) ctx.Repo.GitRepo.Close() }