Skip to content

Commit

Permalink
Document that HideSuccesses is only valid as a global option
Browse files Browse the repository at this point in the history
  • Loading branch information
quchen committed Feb 4, 2022
1 parent 164cdc8 commit eb4c684
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/Test/Tasty/Ingredients/ConsoleReporter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,9 @@ instance IsOption Quiet where
optionHelp = return "Do not produce any output; indicate success only by the exit code"
optionCLParser = mkFlagCLParser (short 'q') (Quiet True)

-- | Report only failed tests
-- | Report only failed tests.
--
-- At the moment, this option only works globally. As an argument to 'localOption', it does nothing.
newtype HideSuccesses = HideSuccesses Bool
deriving (Eq, Ord, Typeable)
instance IsOption HideSuccesses where
Expand Down

0 comments on commit eb4c684

Please sign in to comment.