Probably somewhere around here (either in this function or at its call site):
|
runTestText :: ShowS -> Test -> IO (Counts, ShowS) |
|
runTestText = performTest reportStart reportError reportFailure |
|
where |
|
reportStart _ = return |
|
reportError = reportProblem "Error:" "Error in: " |
|
reportFailure = reportProblem "Failure:" "Failure in: " |
|
reportProblem p0 p1 _ msg ss us = return $ \rest -> us (line ++ '\n' : rest) |
|
where |
|
line = "### " ++ kind ++ path' ++ "\n" ++ msg |
|
kind = if null path' then p0 else p1 |
|
path' = showPath [x | x@(Label _) <- path ss] |
Probably somewhere around here (either in this function or at its call site):
haskell-template-task/raw/embedded/src/TestHarness.hs
Lines 66 to 76 in 0d393c8