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

Commit77be059

Browse files
committed
fix golden file header spacing
1 parent626391d commit77be059

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎cli/clitest/golden.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,10 @@ func prepareTestData(t *testing.T) (*codersdk.Client, map[string]string) {
167167
ctx,cancel:=context.WithTimeout(context.Background(),testutil.WaitLong)
168168
defercancel()
169169

170-
db,pubsub:=dbtestutil.NewDB(t)
170+
// This needs to be a fixed timezone because timezones increase the length
171+
// of timestamp strings. The increased length can pad table formatting's
172+
// and differ the table header spacings.
173+
db,pubsub:=dbtestutil.NewDB(t,dbtestutil.WithTimezone("UTC"))
171174
rootClient:=coderdtest.New(t,&coderdtest.Options{
172175
Database:db,
173176
Pubsub:pubsub,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp