| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Test.Main.Internal
Synopsis
- data ProcessResult = ProcessResult {
- prStdout :: !ByteString
- prStderr :: !ByteString
- prExitCode :: !ExitCode
- normalizeNewLines :: ProcessResult -> ProcessResult
Documentation
data ProcessResult #
Used for the result of captureProcessResult.
Constructors
| ProcessResult | |
Fields
| |
Instances
| Eq ProcessResult # | |
Defined in Test.Main.Internal Methods (==) :: ProcessResult -> ProcessResult -> Bool # (/=) :: ProcessResult -> ProcessResult -> Bool # | |
| Show ProcessResult # | |
Defined in Test.Main.Internal Methods showsPrec :: Int -> ProcessResult -> ShowS # show :: ProcessResult -> String # showList :: [ProcessResult] -> ShowS # | |
| Generic ProcessResult # | |
Defined in Test.Main.Internal Associated Types type Rep ProcessResult :: * -> * # | |
| type Rep ProcessResult # | |
Defined in Test.Main.Internal type Rep ProcessResult = D1 (MetaData "ProcessResult" "Test.Main.Internal" "main-tester-0.1.0.0-BAaTOLrpEGrDatoSTuO3Hc" False) (C1 (MetaCons "ProcessResult" PrefixI True) (S1 (MetaSel (Just "prStdout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: (S1 (MetaSel (Just "prStderr") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: S1 (MetaSel (Just "prExitCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ExitCode)))) | |
normalizeNewLines :: ProcessResult -> ProcessResult #
Use to avoid errors in related to new line code in tests. Currently I use this function only for this module's test.