Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4b3d211

Browse files
authored
fix: Use UTC in cli/cliui table test to match expected output (#5063)
1 parent 990be63 commit 4b3d211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cliui/table_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ type tableTest3 struct {
5252
func Test_DisplayTable(t *testing.T) {
5353
t.Parallel()
5454

55-
someTime := time.Date(2022, 8, 2, 15, 49, 10, 0, time.Local)
55+
someTime := time.Date(2022, 8, 2, 15, 49, 10, 0, time.UTC)
5656
in := []tableTest1{
5757
{
5858
Name: "foo",

0 commit comments

Comments
 (0)