mirror of
https://github.com/avelino/awesome-go.git
synced 2025-01-31 04:48:53 +00:00
parent
fefc91af56
commit
15d266dab0
@ -23,7 +23,7 @@ func TestDuplicatedLinks(t *testing.T) {
|
||||
query := startQuery()
|
||||
links := make(map[string]bool, 0)
|
||||
|
||||
query.Find("body a").Each(func(_ int, s *goquery.Selection) {
|
||||
query.Find("body li > a:first-child").Each(func(_ int, s *goquery.Selection) {
|
||||
t.Run(s.Text(), func(t *testing.T) {
|
||||
href, ok := s.Attr("href")
|
||||
if !ok {
|
||||
|
Loading…
Reference in New Issue
Block a user