| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Skeletest.Internal.Spec.Output
Contents
Rendering failures
Arguments
| :: Text | Message |
| -> [Text] | Failure context |
| -> [(FilePath, Int, Int, Int)] | Call stack (file, line, startCol, endCol) |
| -> IO Text |
Render a test failure like:
At testSkeletestInternal/TestTargetsSpec.hs:19:
|
| parseTestTargets input shouldBe Right (Just expected)
| ^^^^^^^^
Right 1 ≠ Left 1
BoxSpec
type BoxSpec = [BoxSpecContent] Source #
The specification for boxed output.
data BoxSpecContent Source #
Instances
| Show BoxSpecContent Source # | |
Defined in Skeletest.Internal.Spec.Output Methods showsPrec :: Int -> BoxSpecContent -> ShowS # show :: BoxSpecContent -> String # showList :: [BoxSpecContent] -> ShowS # | |
| Eq BoxSpecContent Source # | |
Defined in Skeletest.Internal.Spec.Output Methods (==) :: BoxSpecContent -> BoxSpecContent -> Bool # (/=) :: BoxSpecContent -> BoxSpecContent -> Bool # | |