File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1113,7 +1113,7 @@ func TestAllUsersCompatAPI(t *testing.T) {
11131113 var wg sync.WaitGroup
11141114
11151115 for _ , userID := range allUsers {
1116- projID , ok := userID .(string )
1116+ usrID , ok := userID .(string )
11171117 if ! ok {
11181118 t .Errorf ("Expected string user_id, got: %T" , userID )
11191119 continue
@@ -1122,20 +1122,20 @@ func TestAllUsersCompatAPI(t *testing.T) {
11221122 wg .Add (1 )
11231123 sem <- struct {}{}
11241124
1125- go func (projID string ) {
1125+ go func (usrID string ) {
11261126 defer wg .Done ()
11271127 defer func () { <- sem }()
11281128
11291129 // Use t.Run in a thread-safe wrapper with a dummy parent test
1130- t .Run (fmt .Sprintf ("UserId=%s" , projID ), func (t * testing.T ) {
1131- runUserCompatAPIForUser (t , projID )
1130+ t .Run (fmt .Sprintf ("UserId=%s" , usrID ), func (t * testing.T ) {
1131+ runUserCompatAPIForUser (t , usrID )
11321132 if t .Failed () {
11331133 mtx .Lock ()
1134- failedUsers = append (failedUsers , projID )
1134+ failedUsers = append (failedUsers , usrID )
11351135 mtx .Unlock ()
11361136 }
11371137 })
1138- }(projID )
1138+ }(usrID )
11391139 }
11401140
11411141 wg .Wait ()
You can’t perform that action at this time.
0 commit comments