Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b7dec3

Browse files
committed
codersdk: Use parallel test
1 parent6c41620 commit6b7dec3

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
funcTestPagination_asRequestOption(t*testing.T) {
15+
t.Parallel()
16+
1417
uuid1:=uuid.New()
1518
typefieldsstruct {
1619
AfterID uuid.UUID
@@ -39,7 +42,10 @@ func TestPagination_asRequestOption(t *testing.T) {
3942
},
4043
}
4144
for_,tt:=rangetests {
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)

[8]ページ先頭

©2009-2025 Movatter.jp