Skip to content

Commit

Permalink
set t.Parallel in TestFetchTwitterOGP
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitoyama committed Sep 5, 2023
1 parent 3e63ef7 commit e2ee810
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service/ogp/parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,11 @@ func TestFetchTwitterOGP(t *testing.T) {
wantErr: assert.NoError,
},
}
t.Parallel()
for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) {
t.Parallel()
u, _ := url.Parse(tt.url)
got, _, err := ParseMetaForURL(u)
if !tt.wantErr(t, err, fmt.Sprintf("ParseMetaForURL(%v)", tt.url)) {
Expand Down

0 comments on commit e2ee810

Please sign in to comment.