Skip to content

Commit

Permalink
WallClock test: allow for thunks in []
Browse files Browse the repository at this point in the history
This was failing the tests with thunk checking
enabled (`-fchecktvarinvariant`).
  • Loading branch information
mrBliss committed Feb 10, 2020
1 parent 93ec1db commit 2c9c10c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ testOverrideDelay systemStart slotLength numSlots = do
nullTracer
systemStart
(focusSlotLengths $ singletonSlotLengths slotLength)
slotsVar <- newTVarM []
slotsVar <- uncheckedNewTVarM []
cancelCollection <- onSlotChange time $ \slotNo ->
atomically $ modifyTVar slotsVar (slotNo :)
-- Wait to collect the required number of slots
Expand Down

0 comments on commit 2c9c10c

Please sign in to comment.