packages feed

doctest 0.15.1 → 0.16.0

raw patch · 3 files changed

+5/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

doctest.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: d9e1502a7c11bbf6626127a98ee976799f47df80bfa8ec5693f37717bff0db96+-- hash: 3f2294fd9f8fe9ae2eb369fd4a69655cb28a2ba502010c947eaf4f71d450abf8  name:           doctest-version:        0.15.1+version:        0.16.0 synopsis:       Test interactive Haskell examples description:    The doctest program checks examples in source code comments.  It is modeled                 after doctest for Python (<http://docs.python.org/library/doctest.html>).
src/Runner.hs view
@@ -158,14 +158,14 @@  reportFailure :: Location -> Expression -> [String] -> Report () reportFailure loc expression err = do-  report (printf "### Failure in %s: expression `%s'" (show loc) expression)+  report (printf "%s: failure in expression `%s'" (show loc) expression)   mapM_ report err   report ""   updateSummary (Summary 0 1 0 1)  reportError :: Location -> Expression -> String -> Report () reportError loc expression err = do-  report (printf "### Error in %s: expression `%s'" (show loc) expression)+  report (printf "%s: error in expression `%s'" (show loc) expression)   report err   report ""   updateSummary (Summary 0 1 1 0)
test/RunSpec.hs view
@@ -128,7 +128,7 @@               "### Started execution at test/integration/failing/Foo.hs:5."             , "### example:"             , "23"-            , "### Failure in test/integration/failing/Foo.hs:5: expression `23'"+            , "test/integration/failing/Foo.hs:5: failure in expression `23'"             , "expected: 42"             , " but got: 23"             , ""