Skip to content

Commit a3a6493

Browse files
committed
Fix typo in test
1 parent 69984e5 commit a3a6493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/release_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func TestNewReleasePost(t *testing.T) {
7575
Target: testCase.Form.Target,
7676
Title: testCase.Form.Title,
7777
Note: testCase.Form.Content,
78-
IsTag: true,
78+
IsTag: testCase.IsTag,
7979
}, unittest.Cond("is_draft=?", len(testCase.Form.Draft) > 0))
8080
ctx.Repo.GitRepo.Close()
8181
}

0 commit comments

Comments
 (0)