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

Commit245f6df

Browse files
committed
linting
1 parentc0d05db commit245f6df

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎enterprise/coderd/workspacequota_test.go‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,7 @@ func TestWorkspaceSerialization(t *testing.T) {
314314
t.Skip("Serialization errors only occur in postgres")
315315
}
316316

317-
db,ps:=dbtestutil.NewDB(t)
318-
var_=ps
317+
db,_:=dbtestutil.NewDB(t)
319318

320319
user:=dbgen.User(t,db, database.User{})
321320
otherUser:=dbgen.User(t,db, database.User{})
@@ -655,7 +654,6 @@ func TestWorkspaceSerialization(t *testing.T) {
655654
one:=newCommitter(t,db,myWorkspace.Workspace,myWorkspace.Build)
656655
two:=newCommitter(t,db,myOtherWorkspace.Workspace,myOtherWorkspace.Build)
657656

658-
var_,_=one,two
659657
// Run order
660658
one.GetQuota(ctx,t)
661659
one.GetAllowance(ctx,t)
@@ -714,7 +712,6 @@ func TestWorkspaceSerialization(t *testing.T) {
714712
one:=newCommitter(t,db,myWorkspace.Workspace,myWorkspace.Build)
715713
two:=newCommitter(t,db,myOtherWorkspace.Workspace,myOtherWorkspace.Build)
716714

717-
var_,_=one,two
718715
// Run order
719716
one.GetQuota(ctx,t)
720717
one.GetAllowance(ctx,t)
@@ -776,7 +773,6 @@ func TestWorkspaceSerialization(t *testing.T) {
776773
one:=newCommitter(t,db,myWorkspace.Workspace,myWorkspace.Build)
777774
two:=newCommitter(t,db,myOtherWorkspace.Workspace,myOtherWorkspace.Build)
778775

779-
var_,_=one,two
780776
// Run order
781777
one.GetQuota(ctx,t)
782778
one.GetAllowance(ctx,t)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp