diff --git a/test/Data/Adjoined/Spec.hs b/test/Data/Adjoined/Spec.hs index be4780450..e0d7b2876 100644 --- a/test/Data/Adjoined/Spec.hs +++ b/test/Data/Adjoined/Spec.hs @@ -9,3 +9,6 @@ instance Arbitrary a => Arbitrary (Adjoined a) where newtype Separated a = Separated { unSeparated :: a } deriving (Eq, Functor, Show) + +instance Arbitrary a => Arbitrary (Separated a) where + arbitrary = Separated <$> arbitrary