diff --git a/test/Data/Adjoined/Spec.hs b/test/Data/Adjoined/Spec.hs index 92e488a0d..b72c04c9f 100644 --- a/test/Data/Adjoined/Spec.hs +++ b/test/Data/Adjoined/Spec.hs @@ -4,6 +4,7 @@ import ArbitraryTerm () import Control.Applicative import Data.Adjoined import Data.Coalescent +import Data.Foldable import Data.Functor.Both import Data.Typeable import Line @@ -39,6 +40,7 @@ monoid gen = instance Arbitrary a => Arbitrary (Adjoined a) where arbitrary = fromList <$> arbitrary + shrink arbitrary = fromList <$> shrinkList shrink (toList arbitrary) -- | A wrapper which never coalesces values.