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

Commit120a87e

Browse files
committed
linting
1 parente7e555e commit120a87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎coderd/promoauth/oauth2_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func TestGithubRateLimits(t *testing.T) {
217217
funcregistryDump(reg*prometheus.Registry)string {
218218
h:=promhttp.HandlerFor(reg, promhttp.HandlerOpts{})
219219
rec:=httptest.NewRecorder()
220-
req,_:=http.NewRequest(http.MethodGet,"/",nil)
220+
req,_:=http.NewRequestWithContext(context.Background(),http.MethodGet,"/",nil)
221221
h.ServeHTTP(rec,req)
222222
resp:=rec.Result()
223223
data,_:=io.ReadAll(resp.Body)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp