Skip to content

Commit 46d650c

Browse files
committed
Update TestViewTagsList
1 parent cc9f841 commit 46d650c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integrations/release_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@ func TestViewTagsList(t *testing.T) {
200200

201201
htmlDoc := NewHTMLParser(t, rsp.Body)
202202
tags := htmlDoc.Find(".tag-list tr")
203-
assert.Equal(t, 2, tags.Length())
203+
assert.Equal(t, 3, tags.Length())
204204

205205
tagNames := make([]string, 0, 5)
206206
tags.Each(func(i int, s *goquery.Selection) {
207207
tagNames = append(tagNames, s.Find(".tag a.df.ac").Text())
208208
})
209209

210-
assert.EqualValues(t, []string{"delete-tag", "v1.1"}, tagNames)
210+
assert.EqualValues(t, []string{"v1.0", "delete-tag", "v1.1"}, tagNames)
211211
}

0 commit comments

Comments
 (0)