Open philderbeast opened 7 months ago
@philderbeast with GHC 9.10.1 out, can this output be produced by GHCi? If yes, then I think it should already work, if no then it may be out-of-scope for doctest. doctest is a tool to verify that example GHCi sessions work. It's a documentation tool, not primarily a testing tool. Hspec is a better option for testing.
Could we have multiline expectations (when GHC gets multiline strings https://github.com/ghc-proposals/ghc-proposals/pull/569)?
This would then become something like;
The snippet is taken from https://github.com/haskell/cabal/pull/9578.