Skip to content

Commit 5314cd1

Browse files
committed
misspell fixes
1 parent 8a01fdd commit 5314cd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

models/issues/issue_search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func applyLabelsCondition(sess *xorm.Session, opts *IssuesOptions) *xorm.Session
143143
}
144144
// ... and use them in a subquery of the form :
145145
// where (select count(*) from issue_label where issue_id=issue.id and label_id in (2, 4, 6)) = 3
146-
// This equality is garanteed thanks to unique index (issue_id,label_id) on table issue_label.
146+
// This equality is guaranteed thanks to unique index (issue_id,label_id) on table issue_label.
147147
if len(IncludedLabelIDs) > 0 {
148148
subquery := builder.Select("count(*)").From("issue_label").Where(builder.Expr("issue_id = issue.id")).
149149
And(builder.In("label_id", IncludedLabelIDs.Values()))

models/issues/label_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func TestLabel_CalOpenIssues(t *testing.T) {
2424

2525
func TestLabel_LoadSelectedLabelsAfterClick(t *testing.T) {
2626
assert.NoError(t, unittest.PrepareTestDatabase())
27-
// Loading the label id:8 wich have a scope and an exclusivity
27+
// Loading the label id:8 which have a scope and an exclusivity
2828
label := unittest.AssertExistsAndLoadBean(t, &issues_model.Label{ID: 8})
2929

3030
// First test : with negative and scope

0 commit comments

Comments
 (0)