File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -249,9 +249,9 @@ explosiveTail :: B -> B
249249explosiveTail = (<> error " Tail of this byte string is undefined!" )
250250
251251prop_Lfoldr_lazy = \ xs -> genericTake (L. length xs) (L. foldr (:) [ ] (explosiveTail xs)) == L. unpack xs
252- prop_Lfoldr'_strict = expectFailure $ \ xs -> genericTake (L. length xs) (L. foldr' (:) [ ] (explosiveTail xs )) == L. unpack xs
252+ prop_Lfoldr'_strict = expectFailure $ \ xs ys -> genericTake (L. length xs) (L. foldr' (:) [ ] (explosiveTail (xs <> ys) )) == L. unpack xs
253253prop_Lfoldr1_lazy = \ xs -> L. length xs > 0 ==> L. foldr1 const (explosiveTail (xs <> L. singleton 1 )) == L. head xs
254- prop_Lfoldr1'_strict = expectFailure $ \ xs -> L. length xs > 0 ==> L. foldr1' const (explosiveTail xs ) == L. head xs
254+ prop_Lfoldr1'_strict = expectFailure $ \ xs ys -> L. length xs > 0 ==> L. foldr1' const (explosiveTail (xs <> ys) ) == L. head xs
255255
256256prop_unfoldrBP =
257257 forAll arbitrarySizedIntegral $
You can’t perform that action at this time.
0 commit comments