Skip to content

Commit 48acc4a

Browse files
Soupstrawteodanciu
andcommitted
Update eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/ImpTest.hs
Co-authored-by: teodanciu <[email protected]>
1 parent 3913110 commit 48acc4a

File tree

1 file changed

+2
-1
lines changed
  • eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley

1 file changed

+2
-1
lines changed

eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/ImpTest.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,8 @@ passNEpochs ::
13501350
ImpTestM era ()
13511351
passNEpochs n =
13521352
impAnn ("Passing " <> show n <> " epochs") $
1353-
traverse_ (\i -> impAnn ("Passing epoch (" <> show i <> ")") $ passEpoch) ([1 .. n] :: [Natural])
1353+
forM_ ([1 .. n] :: [Natural]) $ \i ->
1354+
impAnn ("Passing epoch (" <> show i <> ")") $ passEpoch
13541355

13551356
-- | Runs the TICK rule until the `n` epochs are passed, running the `checks`
13561357
-- each time.

0 commit comments

Comments
 (0)