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:
parent
cf00dcd95e
commit
821ee2e792
@ -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)) $
|
||||
|
Loading…
Reference in New Issue
Block a user