Skip to content

Commit 245f6df

Browse files
committed
linting
1 parent c0d05db commit 245f6df

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)