mirror of
https://github.com/github/semantic.git
synced 2024-12-29 18:06:14 +03:00
Run the monoid spec over coalesced strings.
This commit is contained in:
parent
14234a7440
commit
8cfcd8b7bc
@ -11,6 +11,7 @@ spec = do
|
||||
prop "equality is reflexive" $
|
||||
\ a -> a `shouldBe` (a :: Adjoined (Uncoalesced Char))
|
||||
|
||||
describe "Monoid (Coalesced)" $ monoid (arbitrary :: Gen (Adjoined (Coalesced String)))
|
||||
describe "Monoid (Uncoalesced)" $ monoid (arbitrary :: Gen (Adjoined (Uncoalesced String)))
|
||||
|
||||
monoid :: (Arbitrary a, Coalescent a, Eq a, Show a) => Gen (Adjoined a) -> Spec
|
||||
|
Loading…
Reference in New Issue
Block a user