Skip to content

Commit

Permalink
Fix typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
kemzeb committed Jan 13, 2025
1 parent 69984e5 commit a3a6493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/web/repo/release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit a3a6493

Please sign in to comment.