I want to create an example in doctest for using getLine. However, when I run the test, it does not terminate:
getLine
{- | >>> getLine >>> Hello, World! "Hello, World!" -} module MyModule where
How to provide custom input for doctest?
Aucun commentaire:
Enregistrer un commentaire