Skip to content

Commit

Permalink
move t.Parallel() to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
logica0419 committed Sep 5, 2023
1 parent 08216f6 commit 2fc718d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/ogp/parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func TestExtractTitleFromNode(t *testing.T) {
}

func TestFetchTwitterOGP(t *testing.T) {
t.Parallel()
tests := []struct {
name string
url string
Expand All @@ -150,7 +151,6 @@ func TestFetchTwitterOGP(t *testing.T) {
wantErr: assert.NoError,
},
}
t.Parallel()
for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) {
Expand Down

0 comments on commit 2fc718d

Please sign in to comment.