module Test.Hspec.TidyFormatter
(
use
, register
, formatter
, module Test.Hspec.Api.Formatters.V3
) where
import Test.Hspec.TidyFormatter.Internal qualified as Internal
import Test.Hspec.Api.Formatters.V3
use :: SpecWith () -> SpecWith ()
use :: SpecWith () -> SpecWith ()
use = ((Config -> Config) -> SpecWith ()
forall a. (Config -> Config) -> SpecWith a
modifyConfig ((String, Formatter) -> Config -> Config
useFormatter (String, Formatter)
formatter) >>)
register :: SpecWith a -> SpecWith a
register :: forall a. SpecWith a -> SpecWith a
register = ((Config -> Config) -> SpecWith a
forall a. (Config -> Config) -> SpecWith a
modifyConfig ((String, Formatter) -> Config -> Config
registerFormatter (String, Formatter)
formatter) >>)
formatter :: (String,Formatter)
formatter :: (String, Formatter)
formatter = (String
name,Formatter
Internal.tidy)
name :: String
name :: String
name = String
"tidy"