Skip to content

Commit 6b7dec3

Browse files
committed
codersdk: Use parallel test
1 parent 6c41620 commit 6b7dec3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

codersdk/pagination_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//nolint:testpackage
12
package codersdk
23

34
import (
@@ -11,6 +12,8 @@ import (
1112
)
1213

1314
func TestPagination_asRequestOption(t *testing.T) {
15+
t.Parallel()
16+
1417
uuid1 := uuid.New()
1518
type fields struct {
1619
AfterID uuid.UUID
@@ -39,7 +42,10 @@ func TestPagination_asRequestOption(t *testing.T) {
3942
},
4043
}
4144
for _, tt := range tests {
45+
tt := tt
4246
t.Run(tt.name, func(t *testing.T) {
47+
t.Parallel()
48+
4349
p := Pagination{
4450
AfterID: tt.fields.AfterID,
4551
Limit: tt.fields.Limit,

0 commit comments

Comments
 (0)