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

Commit190940f

Browse files
committed
parallel unit test
1 parentdba617d commit190940f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎coderd/httpmw/authorize_test.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,19 @@ import (
1111

1212
"github.com/coder/coder/coderd/rbac"
1313

14-
"github.com/coder/coder/coderd/database"
1514
"github.com/google/uuid"
1615

17-
"github.com/coder/coder/coderd/database/databasefake"
18-
"github.com/coder/coder/coderd/httpmw"
16+
"github.com/coder/coder/coderd/database"
17+
1918
"github.com/go-chi/chi/v5"
2019
"github.com/stretchr/testify/require"
20+
21+
"github.com/coder/coder/coderd/database/databasefake"
22+
"github.com/coder/coder/coderd/httpmw"
2123
)
2224

2325
funcTestExtractUserRoles(t*testing.T) {
26+
t.Parallel()
2427
testCases:= []struct {
2528
Namestring
2629
AddUserfunc(db database.Store) (database.User, []string,string)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp