hspec-expectations 0.6.0 → 0.6.0.1
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
hspec-expectations.cabal view
@@ -1,5 +1,5 @@ name: hspec-expectations-version: 0.6.0+version: 0.6.0.1 synopsis: Catchy combinators for HUnit description: Catchy combinators for HUnit: <https://github.com/sol/hspec-expectations#readme> license: MIT
src/Test/Hspec/Expectations.hs view
@@ -63,7 +63,7 @@ -- | -- @list \`shouldContain\` sublist@ sets the expectation that @sublist@ is contained,--- wholly and intact, anywhere in the second.+-- wholly and intact, anywhere in @list@. shouldContain :: (Show a, Eq a) => [a] -> [a] -> Expectation list `shouldContain` sublist = assertBool errorMsg (sublist `isInfixOf` list) where