hspec-expectations
hspec-expectations copied to clipboard
Add shouldInclude & shouldIncludeAll
- Add a new
shouldInclude(#38 / #35) - Also, a
shouldIncludeAllwhich provides subset-like expectations (generalised to anyFoldables), with helpful (hopefully) messaging about missing elements - Add some tests around these
- Replicate a few unexported helper functions, rather than mess with the overall structure (can happily change this)
- Update Hpack / Cabal
Closes #38
@sol if this is a no-go for you I can do the plan B and create a hspec-extras (as per your comment in #35)