1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 01:42:43 +03:00

Run the monoid spec over uncoalesced strings.

This commit is contained in:
Rob Rix 2016-03-11 10:29:03 -05:00
parent c9c24894e3
commit 1e4bce59e8

View File

@ -11,7 +11,7 @@ spec = do
prop "equality is reflexive" $
\ a -> a `shouldBe` (a :: Adjoined (Uncoalesced Char))
monoid (arbitrary :: Gen (Adjoined (Uncoalesced Char)))
monoid (arbitrary :: Gen (Adjoined (Uncoalesced String)))
monoid :: (Arbitrary a, Coalescent a, Eq a, Show a) => Gen (Adjoined a) -> Spec
monoid gen =