Skip to content

Commit 7c30e13

Browse files
committed
Add Imp annotations to combinators
1 parent 367332e commit 7c30e13

File tree

1 file changed

+4
-2
lines changed
  • eras/conway/impl/testlib/Test/Cardano/Ledger/Conway

1 file changed

+4
-2
lines changed

eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/ImpTest.hs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,8 @@ ccShouldNotBeExpired ::
10491049
ccShouldNotBeExpired coldC = do
10501050
curEpochNo <- getsNES nesELL
10511051
ccExpiryEpochNo <- getCCExpiry coldC
1052-
curEpochNo `shouldSatisfy` (<= ccExpiryEpochNo)
1052+
impAnn "ccShouldNotBeExpired" $
1053+
curEpochNo `shouldSatisfy` (<= ccExpiryEpochNo)
10531054

10541055
ccShouldBeExpired ::
10551056
(HasCallStack, ConwayEraGov era) =>
@@ -1058,7 +1059,8 @@ ccShouldBeExpired ::
10581059
ccShouldBeExpired coldC = do
10591060
curEpochNo <- getsNES nesELL
10601061
ccExpiryEpochNo <- getCCExpiry coldC
1061-
curEpochNo `shouldSatisfy` (> ccExpiryEpochNo)
1062+
impAnn "ccShouldBeExpired" $
1063+
curEpochNo `shouldSatisfy` (> ccExpiryEpochNo)
10621064

10631065
getCCExpiry ::
10641066
(HasCallStack, ConwayEraGov era) =>

0 commit comments

Comments
 (0)