HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulehspec-expectations-lifted-0.10.0Haskell98

Test.Hspec.Expectations.Lifted

  • 1 type
  • 12 values

Setting expectations

12 declarations
valueshouldContain
  1. :: (HasCallStack, MonadIO m, Show a, Eq a)
  2. => [a]
  3. -> [a]
  4. -> m ()
#

list `shouldContain` sublist sets the expectation that sublist is contained, wholly and intact, anywhere in list.

Re-exports

1 declaration
typetype HasCallStack = IP "callStack" CallStack
#

Request a CallStack.

NOTE: The implicit parameter ?callStack :: CallStack is an implementation detail and should not be considered part of the CallStack API, we may decide to change the implementation in the future.