Skip to content

Commit c8de158

Browse files
committed
static time
1 parent 05ce1ae commit c8de158

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

coderd/database/modelqueries_internal_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package database
22

33
import (
44
"testing"
5+
"time"
56

67
"github.com/stretchr/testify/require"
78

@@ -29,6 +30,9 @@ func TestWorkspaceTableConvert(t *testing.T) {
2930
Uint: func() uint64 { return 126 },
3031
Float: func() float64 { return 3.14 },
3132
Complex: func() complex128 { return 6.24 },
33+
Time: func() time.Time {
34+
return time.Date(2020, 5, 2, 5, 19, 21, 30, time.UTC)
35+
},
3236
}
3337

3438
// This feels a bit janky, but it works.

0 commit comments

Comments
 (0)