Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- sanitize :: Text -> Text
- screenshot :: Members [Tmux, Test, Error TestError, Embed IO] r => Bool -> Bool -> Text -> Int -> Sem r (Maybe ([Text], [Text]))
- assertScreenshot :: HasCallStack => Members [NativeTmux, NativeCommandCodecE, Stop CodecError] r => Members [Hedgehog IO, Test, Error TestError, Error Failure, ChronosTime, Race, Embed IO] r => Bool -> Text -> Int -> Sem r ()
- updateScreeshot :: HasCallStack => Members [NativeTmux, NativeCommandCodecE, Stop CodecError] r => Members [Hedgehog IO, Test, Error TestError, Error Failure, ChronosTime, StderrLog, Race, Embed IO] r => Bool -> Text -> Int -> Sem r ()
- awaitScreenshot' :: HasCallStack => Members [NativeTmux, NativeCommandCodecE, Stop CodecError] r => Members [Hedgehog IO, Test, Error TestError, Error Failure, ChronosTime, StderrLog, Race, Embed IO] r => Bool -> Bool -> Text -> Int -> Sem r ()
- awaitScreenshot :: HasCallStack => Members [NativeTmux, NativeCommandCodecE, Stop CodecError] r => Members [Hedgehog IO, Test, Error TestError, Error Failure, ChronosTime, StderrLog, Race, Embed IO] r => Bool -> Text -> Int -> Sem r ()
Documentation
sanitize :: Text -> Text Source #
Nvim appears to add random whitespace sequences, optionally interspersed with color codes, to empty lines. This remotes that noise from lines starting with `~ESC[39m` or `ESC[94m~ESC[39m`.
screenshot :: Members [Tmux, Test, Error TestError, Embed IO] r => Bool -> Bool -> Text -> Int -> Sem r (Maybe ([Text], [Text])) Source #
assertScreenshot :: HasCallStack => Members [NativeTmux, NativeCommandCodecE, Stop CodecError] r => Members [Hedgehog IO, Test, Error TestError, Error Failure, ChronosTime, Race, Embed IO] r => Bool -> Text -> Int -> Sem r () Source #
updateScreeshot :: HasCallStack => Members [NativeTmux, NativeCommandCodecE, Stop CodecError] r => Members [Hedgehog IO, Test, Error TestError, Error Failure, ChronosTime, StderrLog, Race, Embed IO] r => Bool -> Text -> Int -> Sem r () Source #
awaitScreenshot' :: HasCallStack => Members [NativeTmux, NativeCommandCodecE, Stop CodecError] r => Members [Hedgehog IO, Test, Error TestError, Error Failure, ChronosTime, StderrLog, Race, Embed IO] r => Bool -> Bool -> Text -> Int -> Sem r () Source #
awaitScreenshot :: HasCallStack => Members [NativeTmux, NativeCommandCodecE, Stop CodecError] r => Members [Hedgehog IO, Test, Error TestError, Error Failure, ChronosTime, StderrLog, Race, Embed IO] r => Bool -> Text -> Int -> Sem r () Source #