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

Commit7fbca62

Browse files
authored
chore: fixTest_parseInsightsStartAndEndTime flake (#12377)
Fixes#10600
1 parent5a53afd commit7fbca62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎coderd/insights_internal_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ func Test_parseInsightsStartAndEndTime(t *testing.T) {
8181
wantOk:false,
8282
},
8383
{
84-
name:"Today(hour round up)",
84+
name:"Today hour round up",
8585
args:args{
8686
startTime:today.Format(layout),
8787
endTime:thisHourRoundUp.Format(layout),
8888
},
8989
wantStartTime:time.Date(today.Year(),today.Month(),today.Day(),0,0,0,0,time.UTC),
90-
wantEndTime:time.Date(today.Year(),today.Month(),thisHourRoundUp.Day(),thisHourRoundUp.Hour(),0,0,0,time.UTC),
90+
wantEndTime:time.Date(thisHourRoundUp.Year(),thisHourRoundUp.Month(),thisHourRoundUp.Day(),thisHourRoundUp.Hour(),0,0,0,time.UTC),
9191
wantOk:true,
9292
},
9393
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp