Skip to content

Commit 719bddc

Browse files
SoupstrawCopilot
andauthored
Update test/Test/Codec/CBOR/Cuddle/CDDL/GeneratorSpec.hs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f64bf33 commit 719bddc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Test/Codec/CBOR/Cuddle/CDDL/GeneratorSpec.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ spec = do
7777

7878
describe "Custom generators" $ do
7979
describe "Huddle" $ do
80-
simpleTermExampleCddl <- tryResolveHuddle customGenExample
80+
customGenExampleCddl <- tryResolveHuddle customGenExample
8181
prop "If a term has a custom generator then it is used" $ do
82-
res <- generateCDDL $ mapIndex simpleTermExampleCddl
82+
res <- generateCDDL $ mapIndex customGenExampleCddl
8383
pure $
8484
res `shouldSatisfy` \case
8585
TInt i -> i > 3 && i < 7

0 commit comments

Comments
 (0)