File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,6 @@ instance
185185 ]
186186 n <- genFromSpecT size'
187187 let go 0 _ m = pure m
188- -- go n' ((\ s -> trace (show s) s) -> kvs') m = do
189188 go n' kvs' m = do
190189 mkv <- inspect $ genFromSpecT kvs'
191190 case mkv of
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ prop_constrained_satisfies_sound spec = prop_sound (constrained $ \a -> satisfie
7575-- | Check that explanations don't immediately ruin soundness
7676prop_constrained_explained :: HasSpec a => Specification a -> QC. Property
7777prop_constrained_explained spec =
78- QC. forAll QC. arbitrary $ \ es ->
79- prop_sound $ constrained $ \ x -> Explain es $ x `satisfies` spec
78+ let es = NE. singleton " Dummy explanation "
79+ in prop_sound $ constrained $ \ x -> Explain es $ x `satisfies` spec
8080
8181-- | `prop_complete ps` assumes that `ps` is satisfiable and checks that it doesn't crash
8282prop_complete :: HasSpec a => Specification a -> QC. Property
Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ tests nightly =
205205 testSpec " composeEvenSpec" composeEvenSpec
206206 testSpec " oddSpec" oddSpec
207207 testSpec " composeOddSpec" composeOddSpec
208+ testSpec " keysExample" keysExample
208209
209210negativeTests :: Spec
210211negativeTests =
You can’t perform that action at this time.
0 commit comments