Skip to content

Commit d9b58d2

Browse files
committed
Unit test
1 parent 03dd6a4 commit d9b58d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/workspaces_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1753,6 +1753,7 @@ func TestOffsetLimit(t *testing.T) {
17531753
})
17541754
require.NoError(t, err)
17551755
require.Len(t, ws.Workspaces, 0)
1756+
require.Equal(t, ws.Count, 3) // can't find workspaces, but count is non-zero
17561757
}
17571758

17581759
func TestWorkspaceUpdateAutostart(t *testing.T) {

0 commit comments

Comments
 (0)