We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f64bf33 commit 719bddcCopy full SHA for 719bddc
test/Test/Codec/CBOR/Cuddle/CDDL/GeneratorSpec.hs
@@ -77,9 +77,9 @@ spec = do
77
78
describe "Custom generators" $ do
79
describe "Huddle" $ do
80
- simpleTermExampleCddl <- tryResolveHuddle customGenExample
+ customGenExampleCddl <- tryResolveHuddle customGenExample
81
prop "If a term has a custom generator then it is used" $ do
82
- res <- generateCDDL $ mapIndex simpleTermExampleCddl
+ res <- generateCDDL $ mapIndex customGenExampleCddl
83
pure $
84
res `shouldSatisfy` \case
85
TInt i -> i > 3 && i < 7
0 commit comments