1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 16:33:03 +03:00

Test the identity case via openMaybe.

This commit is contained in:
Rob Rix 2015-12-22 17:06:51 -05:00
parent cf00dcd95e
commit 821ee2e792

View File

@ -56,7 +56,7 @@ spec = do
describe "adjoinRowsBy" $ do
prop "is identity on top of no rows" $
\ a -> adjoinRowsBy openString openString [] a == [ a ]
\ a -> adjoinRowsBy openMaybe openMaybe [] a == [ a ]
prop "appends onto open rows" $
forAll ((arbitrary `suchThat` isOpenBy openMaybe) >>= \ a -> (,) a <$> (arbitrary `suchThat` isOpenBy openMaybe)) $