From c17e9235b220032c2f65d969733992b54c8439d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20Sch=C3=B6ttl?= Date: Mon, 24 Aug 2020 23:24:53 +0200 Subject: [PATCH] Bugfix and fix comments --- src/Print.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Print.hs b/src/Print.hs index e20d126..83ea421 100644 --- a/src/Print.hs +++ b/src/Print.hs @@ -10,8 +10,8 @@ printShellTest :: String -- ^ Shelltest format. Value of option @--print[=FORMAT]@. -> Maybe String -- ^ Value of option @--actual[=MODE]@. @Nothing@ if option is not given. -> ShellTest -- ^ Test to print - -> Either String String -- ^ Non-matching or matching exit status - -> Either String String -- ^ Non-matching or matching exit status + -> Either String String -- ^ Non-matching or matching stdout + -> Either String String -- ^ Non-matching or matching stderr -> Either Int Int -- ^ Non-matching or matching exit status -> IO () printShellTest format actualMode ShellTest{command=c,stdin=i,comments=comments,trailingComments=trailingComments, @@ -29,7 +29,7 @@ printShellTest format actualMode ShellTest{command=c,stdin=i,comments=comments,t printComments trailingComments "v2" -> do printComments comments - printCommand "$ " c + printCommand "$$$ " c printStdin "<<<" i printStdouterr ">>>" o printStdouterr ">>>2" e