Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
static time
  • Loading branch information
Emyrk committed Oct 22, 2024
commit c8de1588f2b39bbbe4177d98b9511e8293ab4518
4 changes: 4 additions & 0 deletions coderd/database/modelqueries_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package database

import (
"testing"
"time"

"github.com/stretchr/testify/require"

Expand Down Expand Up @@ -29,6 +30,9 @@ func TestWorkspaceTableConvert(t *testing.T) {
Uint: func() uint64 { return 126 },
Float: func() float64 { return 3.14 },
Complex: func() complex128 { return 6.24 },
Time: func() time.Time {
return time.Date(2020, 5, 2, 5, 19, 21, 30, time.UTC)
},
}

// This feels a bit janky, but it works.
Expand Down
Loading